summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-12 11:41:42 -0700
committerBrian Paul <[email protected]>2012-01-12 13:49:15 -0700
commit062a4b601edaaea193397bd5d86fea11ceec04f4 (patch)
tree6c32047aa3855c3b774e1a916f0dc70dd44a5058
parent6dbdc0395698de929e23b4ec1ab399e64ecfd264 (diff)
intel: move declaration before code
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index 1d8b10e288e..c37075c6be9 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -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;