1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-14 10:08:06 +00:00

devmods/edit-shaders:: resolved name conflict

This commit is contained in:
Zeno Rogue
2019-10-25 14:50:03 +02:00
parent 72e6859dd5
commit 38414c65b4

View File

@@ -38,7 +38,7 @@ void print_shader(const char *fname, string s) {
fclose(f); fclose(f);
} }
bool trailer_handleKey(int sym, int uni) { bool es_handleKey(int sym, int uni) {
if(sym == SDLK_F2) { if(sym == SDLK_F2) {
glhr::be_textured(); glhr::be_textured();
@@ -65,8 +65,8 @@ bool trailer_handleKey(int sym, int uni) {
return false; return false;
} }
auto hook = auto eshook =
addHook(hooks_handleKey, 100, trailer_handleKey) addHook(hooks_handleKey, 100, es_handleKey)
+ 0; + 0;
} }