Skip to content

Commit

Permalink
Fix problem causing white screen when running on Wine
Browse files Browse the repository at this point in the history
  • Loading branch information
PieKing1215 committed Nov 22, 2020
1 parent e057e33 commit 7476e11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FallingSandSurvival/data/shaders/fire.frag
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Fragment
#ifdef GL_ES
precision mediump float;
#endif

float intensity=0.7;// light transmition coeficient <0,1>
const int txrsiz=1200; // max texture size [pixels]
Expand Down
2 changes: 2 additions & 0 deletions FallingSandSurvival/data/shaders/fire2.frag
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Fragment
#ifdef GL_ES
precision mediump float;
#endif

float intensity=1.0;// light transmition coeficient <0,1>
const int txrsiz=1200; // max texture size [pixels]
Expand Down
2 changes: 2 additions & 0 deletions FallingSandSurvival/data/shaders/newLighting.frag
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Fragment
#ifdef GL_ES
precision mediump float;
#endif

uniform bool simpleOnly = false;
uniform bool emission = true;
Expand Down

0 comments on commit 7476e11

Please sign in to comment.