summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-05-18 18:03:37 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-05-18 18:03:37 +0200
commit6f3721a8ecb3695344e9a878bb452342ee502764 (patch)
tree465532282b356f1ce55b1b1dfbf078b110ccc159
parent43234cee40c48e14a3eab4268181d9b0b2b7cf79 (diff)
st/mesa: fix wrong argument order
-rw-r--r--src/mesa/state_tracker/st_cb_fbo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c
index f67197de94..46f27ced6c 100644
--- a/src/mesa/state_tracker/st_cb_fbo.c
+++ b/src/mesa/state_tracker/st_cb_fbo.c
@@ -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);
}