Temporarily disables the unified renderer in the JogAmp backend

experimental
Julien Gouesse 9 years ago
parent fcae2e64de
commit da01826e43
  1. 5
      jme3-jogl/src/main/java/com/jme3/system/jogl/JoglContext.java

@ -40,6 +40,7 @@ import com.jme3.renderer.RendererException;
import com.jme3.renderer.jogl.JoglGL;
import com.jme3.renderer.jogl.JoglGLExt;
import com.jme3.renderer.jogl.JoglGLFbo;
import com.jme3.renderer.jogl.JoglRenderer;
import com.jme3.renderer.opengl.GL2;
import com.jme3.renderer.opengl.GL3;
import com.jme3.renderer.opengl.GL4;
@ -191,7 +192,9 @@ public abstract class JoglContext implements JmeContext {
glfbo = (GLFbo) GLTracer.createDesktopGlTracer(glfbo, GLFbo.class);
}
renderer = new GLRenderer(gl, glext, glfbo);
//FIXME uncomment the line below when the unified renderer is ready for the prime time :)
//renderer = new GLRenderer(gl, glext, glfbo);
renderer = new JoglRenderer();
renderer.initialize();
} else {
throw new UnsupportedOperationException("Unsupported renderer: " + settings.getRenderer());

Loading…
Cancel
Save