fixes to projection streamlining

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:43:00 +02:00
1 parent be2ac7654a
commit c19ffb3597
6 files changed
+8 -7

No files matched your search

+1
View File
@@ -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;