Rename create_graphics_context to create_wgl_context

This commit is contained in:
twinaphex 2020-08-28 01:29:23 +02:00
parent d249f83c85
commit 73fc7c9873
3 changed files with 3 additions and 3 deletions

View File

@ -1065,7 +1065,7 @@ LRESULT CALLBACK WndProcWGL(HWND hwnd, UINT message,
if (message == WM_CREATE) if (message == WM_CREATE)
{ {
create_graphics_context(hwnd, &g_win32->quit); create_wgl_context(hwnd, &g_win32->quit);
if (DragAcceptFiles_func) if (DragAcceptFiles_func)
DragAcceptFiles_func(hwnd, true); DragAcceptFiles_func(hwnd, true);
return 0; return 0;

View File

@ -58,7 +58,7 @@ void win32_monitor_info(void *data, void *hm_data, unsigned *mon_id);
int win32_change_display_settings(const char *str, void *devmode_data, int win32_change_display_settings(const char *str, void *devmode_data,
unsigned flags); unsigned flags);
void create_graphics_context(HWND hwnd, bool *quit); void create_wgl_context(HWND hwnd, bool *quit);
void create_vk_context(HWND hwnd, bool *quit); void create_vk_context(HWND hwnd, bool *quit);

View File

@ -417,7 +417,7 @@ error:
} }
#endif #endif
void create_graphics_context(HWND hwnd, bool *quit) void create_wgl_context(HWND hwnd, bool *quit)
{ {
switch (win32_api) switch (win32_api)
{ {