mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2025-12-06 08:01:59 +01:00
Win32: Made the window message proc static
This commit is contained in:
parent
2ba1f053f9
commit
2bc1b89772
|
|
@ -5,7 +5,7 @@ if "%PLTSDKHOME%" == "" goto errorpltsdkhome
|
|||
if "%CHOME%" == "" goto errorchome
|
||||
if "%ALHOME%" == "" goto erroralhome
|
||||
if "%DXHOME%" == "" goto errordxhome
|
||||
set COPTIONS=/Wp64 /I"%DXHOME%\include" /I"%CHOME%\include" /I"%PLTSDKHOME%\include" /I"%JAVA_HOME%\include" /I"%JAVA_HOME%\include\win32" /I"%ALHOME%\include" /I"..\..\src\native\common" /Ox /Ob2 /Oi /Ot /Oy /FD /EHsc /MT /Gy /W2 /nologo /c /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "LWJGL_EXPORTS" /D "_WINDLL"
|
||||
set COPTIONS=/Wp64 /I"%CHOME%\include" /I"%PLTSDKHOME%\include" /I"%DXHOME%\include" /I"%JAVA_HOME%\include" /I"%JAVA_HOME%\include\win32" /I"%ALHOME%\include" /I"..\..\src\native\common" /Ox /Ob2 /Oi /Ot /Oy /FD /EHsc /MT /Gy /W2 /nologo /c /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "LWJGL_EXPORTS" /D "_WINDLL"
|
||||
rem *************************************************
|
||||
rem ** Build using free compiler requires jawt.dll **
|
||||
rem ** and awt.dll in current dir. /delayload **
|
||||
|
|
|
|||
|
|
@ -120,10 +120,11 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_Win32Display_didMaximize
|
|||
did_maximize = false;
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
* WindowProc for the GL window.
|
||||
*/
|
||||
LRESULT CALLBACK lwjglWindowProc(HWND hWnd,
|
||||
static LRESULT CALLBACK lwjglWindowProc(HWND hWnd,
|
||||
UINT msg,
|
||||
WPARAM wParam,
|
||||
LPARAM lParam)
|
||||
|
|
|
|||
Loading…
Reference in a new issue