8016254: several sun/java2d/OpenGL tests failed with SIGFPE
Reviewed-by: prr, bae
This commit is contained in:
parent
11aa764a6f
commit
84a34cfcf1
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user