mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-12 21:45:05 +00:00
6477756: GraphicsDevice.getConfigurations() is slow taking 3 or more seconds
Reviewed-by: prr, serb
This commit is contained in:
parent
3379663376
commit
6986e9dcad
@ -929,6 +929,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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user