mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-16 19:18:05 +00:00
fixes to projection streamlining
This commit is contained in:
@@ -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