mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-13 04:13:03 +00:00
added some missing CAP_SDL and CAP_GL guards
This commit is contained in:
@@ -5269,7 +5269,9 @@ EX int cmode;
|
||||
EX void drawscreen() {
|
||||
|
||||
DEBBI(DF_GRAPH, ("drawscreen"));
|
||||
#if CAP_GL
|
||||
GLWRAP;
|
||||
#endif
|
||||
|
||||
if(vid.xres == 0 || vid.yres == 0) return;
|
||||
|
||||
@@ -5373,7 +5375,9 @@ EX void drawscreen() {
|
||||
vrhr::submit();
|
||||
#endif
|
||||
|
||||
#if CAP_SDL
|
||||
present_screen();
|
||||
#endif
|
||||
|
||||
#if CAP_VR
|
||||
vrhr::handoff();
|
||||
|
||||
Reference in New Issue
Block a user