@Override
protected GameActionLayer defaultRenderingLayer(int mode, int layer) {
if ((mode & options.MODE_RENDER_GL.bitMask()) == 0) {
return super.defaultRenderingLayer(mode, layer);
}
GameActionLayer a = null;
switch (layer) {
case LAYER_BACK:
a = gl_DEFAULT_BACK;
break;
case LAYER_FRONT:
a = gl_DEFAULT_FRONT;
break;
default:
a = new GameActionLayer("N/A") {
};
break;
}
return a;
}