提交 1cf96d58 编写于 作者: V vadim

6477756: GraphicsDevice.getConfigurations() is slow taking 3 or more seconds

Reviewed-by: prr, serb
上级 f8b2d1a0
......@@ -875,6 +875,9 @@ Java_sun_awt_Win32GraphicsDevice_initIDs(JNIEnv *env, jclass cls)
// Only want to call this once per session
make_uns_ordered_dither_array(img_oda_alpha, 256);
// workaround JDK-6477756, ignore return value to keep dll in memory
JDK_LoadSystemLibrary("opengl32.dll");
CATCH_BAD_ALLOC;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册