Index: gm/rectangletexture.cpp |
diff --git a/gm/rectangletexture.cpp b/gm/rectangletexture.cpp |
index e00afe97d1b8b7d0b5448c072453ac085bd22066..43d008aaaad1fd894d88c9c6640232e5e6508cb5 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, |