gallium: Fix uninitialized variable warning in compute test.
[mesa.git] / src / gallium / state_trackers / nine / basetexture9.c
index 0a9034c949d6dd4df49d604575eb73bee3178ea3..911eee6da205a8af6d550334fcb84ce3810559d8 100644 (file)
@@ -557,7 +557,7 @@ NineBaseTexture9_UpdateSamplerView( struct NineBaseTexture9 *This,
     srgb_format = util_format_srgb(resource->format);
     if (sRGB && srgb_format != PIPE_FORMAT_NONE &&
         screen->is_format_supported(screen, srgb_format,
-                                    resource->target, 0, resource->bind))
+                                    resource->target, 0, 0, resource->bind))
         templ.format = srgb_format;
     else
         templ.format = resource->format;