Rename WndProcGL to WndProcWGL

This commit is contained in:
twinaphex 2020-03-05 18:45:41 +01:00
parent c5cb509f1b
commit a7d679d391
3 changed files with 3 additions and 4 deletions

View File

@ -666,7 +666,6 @@ static bool win32_browser(
return result;
}
static LRESULT win32_menu_loop(HWND owner, WPARAM wparam)
{
WPARAM mode = wparam & 0xffff;
@ -1043,7 +1042,7 @@ LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message,
#endif
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGL1) || defined(HAVE_OPENGL_CORE) || defined(HAVE_VULKAN)
LRESULT CALLBACK WndProcGL(HWND hwnd, UINT message,
LRESULT CALLBACK WndProcWGL(HWND hwnd, UINT message,
WPARAM wparam, LPARAM lparam)
{
LRESULT ret;

View File

@ -127,7 +127,7 @@ LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message,
#endif
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGL1) || defined(HAVE_OPENGL_CORE) || defined(HAVE_VULKAN)
LRESULT CALLBACK WndProcGL(HWND hwnd, UINT message,
LRESULT CALLBACK WndProcWGL(HWND hwnd, UINT message,
WPARAM wparam, LPARAM lparam);
#endif

View File

@ -661,7 +661,7 @@ static void *gfx_ctx_wgl_init(video_frame_info_t *video_info, void *video_driver
win32_window_reset();
win32_monitor_init();
wndclass.lpfnWndProc = WndProcGL;
wndclass.lpfnWndProc = WndProcWGL;
if (!win32_window_init(&wndclass, true, NULL))
goto error;