Rename WndProcGL to WndProcWGL
This commit is contained in:
parent
c5cb509f1b
commit
a7d679d391
|
@ -666,7 +666,6 @@ static bool win32_browser(
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static LRESULT win32_menu_loop(HWND owner, WPARAM wparam)
|
static LRESULT win32_menu_loop(HWND owner, WPARAM wparam)
|
||||||
{
|
{
|
||||||
WPARAM mode = wparam & 0xffff;
|
WPARAM mode = wparam & 0xffff;
|
||||||
|
@ -1043,7 +1042,7 @@ LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGL1) || defined(HAVE_OPENGL_CORE) || defined(HAVE_VULKAN)
|
#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)
|
WPARAM wparam, LPARAM lparam)
|
||||||
{
|
{
|
||||||
LRESULT ret;
|
LRESULT ret;
|
||||||
|
|
|
@ -127,7 +127,7 @@ LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGL1) || defined(HAVE_OPENGL_CORE) || defined(HAVE_VULKAN)
|
#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);
|
WPARAM wparam, LPARAM lparam);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -661,7 +661,7 @@ static void *gfx_ctx_wgl_init(video_frame_info_t *video_info, void *video_driver
|
||||||
win32_window_reset();
|
win32_window_reset();
|
||||||
win32_monitor_init();
|
win32_monitor_init();
|
||||||
|
|
||||||
wndclass.lpfnWndProc = WndProcGL;
|
wndclass.lpfnWndProc = WndProcWGL;
|
||||||
if (!win32_window_init(&wndclass, true, NULL))
|
if (!win32_window_init(&wndclass, true, NULL))
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue