Fixed a host of issues with Windows fullscreen modes. Toggling fullscreen OpenGL works now in my test environment.
This commit is contained in:
parent
d865e46b13
commit
6c726ca475
10 changed files with 184 additions and 132 deletions
|
@ -43,6 +43,8 @@ typedef struct
|
|||
WNDPROC wndproc;
|
||||
SDL_bool created;
|
||||
int mouse_pressed;
|
||||
int windowed_x;
|
||||
int windowed_y;
|
||||
struct SDL_VideoData *videodata;
|
||||
} SDL_WindowData;
|
||||
|
||||
|
@ -58,6 +60,7 @@ extern void WIN_RaiseWindow(_THIS, SDL_Window * window);
|
|||
extern void WIN_MaximizeWindow(_THIS, SDL_Window * window);
|
||||
extern void WIN_MinimizeWindow(_THIS, SDL_Window * window);
|
||||
extern void WIN_RestoreWindow(_THIS, SDL_Window * window);
|
||||
extern void WIN_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool fullscreen);
|
||||
extern void WIN_SetWindowGrab(_THIS, SDL_Window * window);
|
||||
extern void WIN_DestroyWindow(_THIS, SDL_Window * window);
|
||||
extern SDL_bool WIN_GetWindowWMInfo(_THIS, SDL_Window * window,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue