mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 16:50:22 +01:00
intel: move declaration before code
This commit is contained in:
parent
6dbdc03956
commit
062a4b601e
1 changed files with 1 additions and 1 deletions
|
|
@ -651,10 +651,10 @@ intel_render_texture(struct gl_context * ctx,
|
|||
struct intel_renderbuffer *irb = intel_renderbuffer(att->Renderbuffer);
|
||||
struct intel_texture_image *intel_image = intel_texture_image(image);
|
||||
struct intel_mipmap_tree *mt = intel_image->mt;
|
||||
int layer;
|
||||
|
||||
(void) fb;
|
||||
|
||||
int layer;
|
||||
if (att->CubeMapFace > 0) {
|
||||
assert(att->Zoffset == 0);
|
||||
layer = att->CubeMapFace;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue