mesa: add KHR_no_error support for glDepthRangeIndexed()
[mesa.git] / src / mesa / main / texgetimage.c
index b0ced1eac0f87c02f0574b5465fdd3a189618890..715bc249be12182954d90ba108bdc42493844d3c 100644 (file)
@@ -1773,7 +1773,7 @@ _mesa_GetCompressedTextureSubImage(GLuint texture, GLint level,
 {
    GET_CURRENT_CONTEXT(ctx);
    static const char *caller = "glGetCompressedTextureImage";
-   struct gl_texture_object *texObj;
+   struct gl_texture_object *texObj = NULL;
 
    texObj = _mesa_lookup_texture_err(ctx, texture, caller);
    if (!texObj) {