8016254: several sun/java2d/OpenGL tests failed with SIGFPE

Reviewed-by: prr, bae
This commit is contained in:
Vadim Pakhnushev 2013-06-26 13:49:16 +04:00
parent 11aa764a6f
commit 84a34cfcf1

View File

@ -662,6 +662,13 @@ OGLContext_IsFBObjectExtensionAvailable(JNIEnv *env,
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,