mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
st/mesa: move declaration before code
This commit is contained in:
parent
192baaac0f
commit
09ba2527e8
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue