From 0360f9a44a632bc465562064f0798385b42c600c Mon Sep 17 00:00:00 2001 From: "jul..om" Date: Tue, 26 Feb 2013 19:35:14 +0000 Subject: [PATCH] Improves OpenGL-ES support (especially for Raspberry Pi), contribution of Erkki Nokso-Koivisto, uses the default profile git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10433 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/jogl/com/jme3/system/jogl/JoglNewtAbstractDisplay.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/src/jogl/com/jme3/system/jogl/JoglNewtAbstractDisplay.java b/engine/src/jogl/com/jme3/system/jogl/JoglNewtAbstractDisplay.java index 8873d0a50..2df311df1 100644 --- a/engine/src/jogl/com/jme3/system/jogl/JoglNewtAbstractDisplay.java +++ b/engine/src/jogl/com/jme3/system/jogl/JoglNewtAbstractDisplay.java @@ -75,7 +75,8 @@ public abstract class JoglNewtAbstractDisplay extends JoglContext implements GLE protected void initGLCanvas() { //FIXME use the settings to know whether to use the max programmable profile //then call GLProfile.getMaxProgrammable(true); - GLCapabilities caps = new GLCapabilities(GLProfile.getMaxFixedFunc(true)); + //FIXME use the default profile only on embedded devices + GLCapabilities caps = new GLCapabilities(GLProfile.getDefault()); caps.setHardwareAccelerated(true); caps.setDoubleBuffered(true); caps.setStencilBits(settings.getStencilBits());