mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-25 05:11:07 +00:00
NX: Fix SDL Window Initialization
This commit is contained in:
parent
2108d718d4
commit
80f88c7c02
1 changed files with 4 additions and 0 deletions
|
@ -82,7 +82,11 @@ static int nummodes;
|
|||
static qboolean vid_initialized = false;
|
||||
|
||||
#if defined(USE_SDL2)
|
||||
#ifndef __SWITCH__
|
||||
static SDL_Window *draw_context;
|
||||
#else
|
||||
extern SDL_Window *draw_context;
|
||||
#endif
|
||||
static SDL_GLContext gl_context;
|
||||
#else
|
||||
static SDL_Surface *draw_context;
|
||||
|
|
Loading…
Reference in a new issue