Windows: Cleanup
This commit is contained in:
parent
d9afe6b784
commit
5e012ce2e1
|
@ -269,7 +269,7 @@ jobject getVersion(JNIEnv * env, char *driver)
|
|||
VS_FIXEDFILEINFO * fxdFileInfo;
|
||||
|
||||
UINT uiLen = 0;
|
||||
bRetval = VerQueryValue(lpInfoBuff, TEXT("\\"), &fxdFileInfo, &uiLen);
|
||||
bRetval = VerQueryValue(lpInfoBuff, TEXT("\\"), (void *)&fxdFileInfo, &uiLen);
|
||||
if (bRetval != 0)
|
||||
ret = (*env)->NewObject(env, version_class, version_cons, fxdFileInfo->dwProductVersionMS, fxdFileInfo->dwProductVersionLS);
|
||||
}
|
||||
|
|
|
@ -128,11 +128,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_WindowsPbufferPeerInfo_nCreate
|
|||
int origin_x = 0; int origin_y = 0;
|
||||
HWND dummy_hwnd;
|
||||
HDC dummy_hdc;
|
||||
HGLRC dummy_context;
|
||||
HPBUFFERARB Pbuffer;
|
||||
HDC Pbuffer_dc;
|
||||
HDC saved_hdc;
|
||||
HGLRC saved_context;
|
||||
WGLExtensions extensions;
|
||||
const int *pBufferAttribs_ptr;
|
||||
WindowsPeerInfo *peer_info = (WindowsPeerInfo *)(*env)->GetDirectBufferAddress(env, peer_info_handle);
|
||||
|
|
Loading…
Reference in New Issue