mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-29 22:25:05 +00:00
(360) WNDCLASSEX not available
This commit is contained in:
parent
5b578af702
commit
7394913f11
@ -245,9 +245,14 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
|
||||
return DefWindowProc(hwnd, message, wparam, lparam);
|
||||
}
|
||||
|
||||
bool win32_window_init(WNDCLASSEX *wndclass, bool fullscreen)
|
||||
bool win32_window_init(void *data, bool fullscreen)
|
||||
{
|
||||
#ifndef _XBOX
|
||||
WNDCLASSEX *wndclass = (WNDCLASSEX*)data;
|
||||
|
||||
if (!wndclass)
|
||||
return false;
|
||||
|
||||
wndclass->cbSize = sizeof(WNDCLASSEX);
|
||||
wndclass->style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC;
|
||||
wndclass->lpfnWndProc = WndProc;
|
||||
|
@ -59,7 +59,7 @@ bool win32_set_video_mode(void *data,
|
||||
bool win32_monitor_set_fullscreen(unsigned width,
|
||||
unsigned height, unsigned refresh, char *dev_name);
|
||||
|
||||
bool win32_window_init(WNDCLASSEX *wndclass, bool fullscreen);
|
||||
bool win32_window_init(void *wndclass, bool fullscreen);
|
||||
|
||||
bool win32_window_create(void *data, unsigned style,
|
||||
RECT *mon_rect, unsigned width,
|
||||
|
Loading…
Reference in New Issue
Block a user