From: Brian Paul Date: Thu, 4 Aug 2011 14:22:31 +0000 (-0600) Subject: st/mesa: move declaration before code X-Git-Tag: mesa-8.0-rc1~2728^2~371 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09ba2527e885f6134002205716a44d01d83638c3;p=platform%2Fupstream%2Fmesa.git st/mesa: move declaration before code --- diff --git a/src/mesa/state_tracker/st_cb_blit.c b/src/mesa/state_tracker/st_cb_blit.c index 276d10f..626db12 100644 --- a/src/mesa/state_tracker/st_cb_blit.c +++ b/src/mesa/state_tracker/st_cb_blit.c @@ -90,13 +90,14 @@ st_BlitFramebuffer_resolve(struct gl_context *ctx, if (mask & depthStencil) { struct gl_renderbuffer_attachment *srcDepth, *srcStencil; struct gl_renderbuffer_attachment *dstDepth, *dstStencil; + boolean combined; srcDepth = &ctx->ReadBuffer->Attachment[BUFFER_DEPTH]; dstDepth = &ctx->DrawBuffer->Attachment[BUFFER_DEPTH]; srcStencil = &ctx->ReadBuffer->Attachment[BUFFER_STENCIL]; dstStencil = &ctx->DrawBuffer->Attachment[BUFFER_STENCIL]; - const boolean combined = + combined = st_is_depth_stencil_combined(srcDepth, srcStencil) && st_is_depth_stencil_combined(dstDepth, dstStencil);