8016254: several sun/java2d/OpenGL tests failed with SIGFPE
Reviewed-by: prr, bae
--- 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,