src/share/native/sun/java2d/opengl/OGLContext.c

Print this page

        

*** 660,669 **** --- 660,676 ---- "GL_EXT_framebuffer_object")) { return JNI_FALSE; } + // next see if the depth texture extension is available + if (!OGLContext_IsExtensionAvailable(extString, + "GL_ARB_depth_texture")) + { + return JNI_FALSE; + } + // next see if the fbobject system property has been enabled isFBObjectEnabled = JNU_GetStaticFieldByName(env, NULL, "sun/java2d/opengl/OGLSurfaceData", "isFBObjectEnabled", "Z").z;