1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-22 14:00:13 +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);
}
bool trailer_handleKey(int sym, int uni) {
bool es_handleKey(int sym, int uni) {
if(sym == SDLK_F2) {
glhr::be_textured();
@ -65,8 +65,8 @@ bool trailer_handleKey(int sym, int uni) {
return false;
}
auto hook =
addHook(hooks_handleKey, 100, trailer_handleKey)
auto eshook =
addHook(hooks_handleKey, 100, es_handleKey)
+ 0;
}