mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 00:23:08 +00:00
added some missing CAP_SDL and CAP_GL guards
This commit is contained in:
1 parent
8678a2f77f
commit
e78a170e7e
6 files changed
+49
-7
No files matched your search
@@ -1920,7 +1920,9 @@ EX void add_edit_fov(char key IS('f'), bool pop IS(false)) {
|
||||
"a quick implementation, so parameter values too close to 1 may "
|
||||
"be buggy (outside of raycasting); try e.g. 0.9 instead.")
|
||||
);
|
||||
#if CAP_GL
|
||||
dialog::reaction = reset_all_shaders;
|
||||
#endif
|
||||
dialog::extra_options = [] {
|
||||
add_edit_fov('F', true);
|
||||
};
|
||||
@@ -1935,7 +1937,9 @@ EX void add_edit_fov(char key IS('f'), bool pop IS(false)) {
|
||||
"a quick implementation, so parameter values too close to 1 may "
|
||||
"be buggy (outside of raycasting); try e.g. 0.9 instead.")
|
||||
);
|
||||
#if CAP_GL
|
||||
dialog::reaction = reset_all_shaders;
|
||||
#endif
|
||||
dialog::extra_options = [] {
|
||||
add_edit_fov('F', true);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user