aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/rectangletexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/rectangletexture.cpp')
-rw-r--r--gm/rectangletexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/rectangletexture.cpp b/gm/rectangletexture.cpp
index e00afe97d1..43d008aaaa 100644
--- a/gm/rectangletexture.cpp
+++ b/gm/rectangletexture.cpp
@@ -87,7 +87,7 @@ protected:
// Useful for debugging whether errors result from use of RECTANGLE
// #define TARGET GR_GL_TEXTURE_2D
#define TARGET GR_GL_TEXTURE_RECTANGLE
- GrGLuint id;
+ GrGLuint id = 0;
GR_GL_CALL(gl, GenTextures(1, &id));
GR_GL_CALL(gl, BindTexture(TARGET, id));
GR_GL_CALL(gl, TexParameteri(TARGET, GR_GL_TEXTURE_MAG_FILTER,