summaryrefslogtreecommitdiff
path: root/drivers/gles2/shader_gles2.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gles2/shader_gles2.h')
-rw-r--r--drivers/gles2/shader_gles2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles2/shader_gles2.h b/drivers/gles2/shader_gles2.h
index 2456a83d35..c7a6465194 100644
--- a/drivers/gles2/shader_gles2.h
+++ b/drivers/gles2/shader_gles2.h
@@ -119,6 +119,7 @@ private:
bool ok;
Version() {
code_version = 0;
+ frag_id = 0;
ok = false;
uniform_location = NULL;
}