View | Details | Raw Unified | Return to bug 821
Collapse All | Expand All

(-)a/src/jogl/classes/javax/media/opengl/GLProfile.java (-10 lines)
Lines 1891-1911 public class GLProfile { Link Here
1891
            final boolean gles2Available = hasGLES3Impl && ( esCtxUndef || GLContext.isGLES2Available(device, es2HardwareRasterizer) );
1891
            final boolean gles2Available = hasGLES3Impl && ( esCtxUndef || GLContext.isGLES2Available(device, es2HardwareRasterizer) );
1892
            final boolean gles2HWAvailable = gles2Available && es2HardwareRasterizer[0] ;
1892
            final boolean gles2HWAvailable = gles2Available && es2HardwareRasterizer[0] ;
1893
            if(hasGL234Impl) {
1893
            if(hasGL234Impl) {
1894
                if(GLContext.isGL4Available(device, isHardwareRasterizer)) {
1895
                    if(!gles2HWAvailable || isHardwareRasterizer[0]) {
1896
                        return GL4;
1897
                    }
1898
                }
1899
                if(GLContext.isGL4bcAvailable(device, isHardwareRasterizer)) {
1894
                if(GLContext.isGL4bcAvailable(device, isHardwareRasterizer)) {
1900
                    if(!gles2HWAvailable || isHardwareRasterizer[0]) {
1895
                    if(!gles2HWAvailable || isHardwareRasterizer[0]) {
1901
                        return GL4bc;
1896
                        return GL4bc;
1902
                    }
1897
                    }
1903
                }
1898
                }
1904
                if(GLContext.isGL3Available(device, isHardwareRasterizer)) {
1905
                    if(!gles2HWAvailable || isHardwareRasterizer[0]) {
1906
                        return GL3;
1907
                    }
1908
                }
1909
                if(GLContext.isGL3bcAvailable(device, isHardwareRasterizer)) {
1899
                if(GLContext.isGL3bcAvailable(device, isHardwareRasterizer)) {
1910
                    if(!gles2HWAvailable || isHardwareRasterizer[0]) {
1900
                    if(!gles2HWAvailable || isHardwareRasterizer[0]) {
1911
                        return GL3bc;
1901
                        return GL3bc;

Return to bug 821