added some missing CAP_SDL and CAP_GL guards

This commit is contained in:
Zeno Rogue committed 2021-05-23 16:00:49 +02:00
1 parent 8678a2f77f
commit e78a170e7e
6 files changed
+49 -7

No files matched your search

+4
View File
@@ -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();