提交 612cf833 编写于 作者: V vadim

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

Reviewed-by: prr, bae
上级 07db24f9
...@@ -662,6 +662,13 @@ OGLContext_IsFBObjectExtensionAvailable(JNIEnv *env, ...@@ -662,6 +662,13 @@ OGLContext_IsFBObjectExtensionAvailable(JNIEnv *env,
return JNI_FALSE; 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 // next see if the fbobject system property has been enabled
isFBObjectEnabled = isFBObjectEnabled =
JNU_GetStaticFieldByName(env, NULL, JNU_GetStaticFieldByName(env, NULL,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册