mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-21 06:14:10 +00:00
Fixed wglGetExtensionsStringARB problem
This commit is contained in:
parent
8b6afc4f42
commit
77e0186cb7
1 changed files with 4 additions and 2 deletions
|
|
@ -3787,8 +3787,10 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL_wglGetCurrentReadDCARB(JNIEnv *
|
|||
*/
|
||||
JNIEXPORT jstring JNICALL Java_org_lwjgl_opengl_GL_wglGetExtensionsStringARB(JNIEnv * env, jclass clazz, jint p0)
|
||||
{
|
||||
jstring ret = env->NewStringUTF(wglGetExtensionsStringARB(GetDC((HWND) p0)));
|
||||
return ret;
|
||||
if (wglGetExtensionsStringARB)
|
||||
return env->NewStringUTF(wglGetExtensionsStringARB(GetDC((HWND) p0)));
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue