From: Roland Scheidegger Date: Tue, 18 May 2010 16:03:37 +0000 (+0200) Subject: st/mesa: fix wrong argument order X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f3721a8ecb3695344e9a878bb452342ee502764;p=mesa.git st/mesa: fix wrong argument order --- diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index f67197de94f..46f27ced6c3 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); }