mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
some missing CAP_SDL guards
This commit is contained in:
1 parent
35125c7878
commit
2125e9ee5b
4 files changed
+19
No files matched your search
@@ -965,6 +965,12 @@ EX bool is_joy_index(int sym, int index) {
|
||||
return is_joy_any(sym) && (sym & (JOY_ID - 1)) == index;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if !CAP_SDL
|
||||
EX bool is_joy_index(int sym, int index) { return false; }
|
||||
#endif
|
||||
|
||||
#if HDR
|
||||
// default meaning of Steam Deck buttons
|
||||
|
||||
@@ -985,6 +991,7 @@ namespace deck {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CAP_SDL
|
||||
EX void mainloopiter() {
|
||||
indenter_finish imainloop(debug_control, "mainloopiter");
|
||||
GLWRAP;
|
||||
|
||||
Reference in new issue
Block a user