Skip to content

Commit

Permalink
NX: Fix SDL Window Initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
MotoLegacy committed Nov 14, 2023
1 parent 2108d71 commit 80f88c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/gl_vidsdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 80f88c7

Please sign in to comment.