summaryrefslogtreecommitdiffhomepage
path: root/src/shaders/default.frag
diff options
context:
space:
mode:
Diffstat (limited to 'src/shaders/default.frag')
-rw-r--r--src/shaders/default.frag17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/shaders/default.frag b/src/shaders/default.frag
index 2ad6732..2176a7d 100644
--- a/src/shaders/default.frag
+++ b/src/shaders/default.frag
@@ -9,13 +9,14 @@ uniform sampler2D texture_1;
void main()
{
- if(v_TexId > 0)
- {
- FragColor = texture(texture_1, v_TexCoord) * v_Color;
- }
- else
- {
- FragColor = v_Color;
- }
+ FragColor = texture(texture_1, v_TexCoord) * v_Color;
+ //if(v_TexId > 0)
+ //{
+ // FragColor = texture(texture_1, v_TexCoord) * v_Color;
+ //}
+ //else
+ //{
+ // FragColor = v_Color;
+ //}
}