changeset 18516 | 1f7d58c5f2e7 |
parent 5506 | 202f599c92aa |
child 23010 | 6dadb192ad81 |
child 23304 | bb48872f9326 |
--- a/jdk/src/share/native/sun/java2d/opengl/OGLContext.c Mon Jun 17 10:34:24 2013 -0700 +++ b/jdk/src/share/native/sun/java2d/opengl/OGLContext.c Wed Jun 26 13:49:16 2013 +0400 @@ -662,6 +662,13 @@ 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,