mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 16:23:08 +00:00
fixes to projection streamlining
This commit is contained in:
1 parent
be2ac7654a
commit
c19ffb3597
6 files changed
+8
-7
No files matched your search
@@ -360,6 +360,7 @@ void colorClear(color_t color) {
|
||||
|
||||
void be_nontextured(shader_projection sp) { switch_mode(gmColored, sp); }
|
||||
void be_textured(shader_projection sp) { switch_mode(gmTextured, sp); }
|
||||
void use_projection(shader_projection sp) { switch_mode(mode, sp); }
|
||||
|
||||
void switch_mode(eMode m, shader_projection sp) {
|
||||
if(m == mode && current_shader_projection == sp) return;
|
||||
|
||||
Reference in new issue
Block a user