st/mesa: fix wrong argument order
authorRoland Scheidegger <sroland@vmware.com>
Tue, 18 May 2010 16:03:37 +0000 (18:03 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 18 May 2010 16:03:37 +0000 (18:03 +0200)
src/mesa/state_tracker/st_cb_fbo.c

index f67197de94f79319009873141297a428ad91fe06..46f27ced6c38537c868d68c2e916f7cd47381ba3 100644 (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);
 }