st/mesa: fix wrong argument order

This commit is contained in:
Roland Scheidegger
2010-05-18 18:03:37 +02:00
parent 43234cee40
commit 6f3721a8ec
+3 -2
View File
@@ -441,8 +441,9 @@ st_validate_attachment(struct pipe_screen *screen,
if (!stObj)
return GL_FALSE;
return screen->is_format_supported(screen, stObj->pt->format, stObj->pt->nr_samples,
PIPE_TEXTURE_2D, bindings, 0);
return screen->is_format_supported(screen, stObj->pt->format,
PIPE_TEXTURE_2D,
stObj->pt->nr_samples, bindings, 0);
}