projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dbdc03
)
intel: move declaration before code
author
Brian Paul
<brianp@vmware.com>
Thu, 12 Jan 2012 18:41:42 +0000
(11:41 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 12 Jan 2012 20:49:15 +0000
(13:49 -0700)
src/mesa/drivers/dri/intel/intel_fbo.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_fbo.c
b/src/mesa/drivers/dri/intel/intel_fbo.c
index 1d8b10e288e6e33e1b552fcbde3383600b4b0454..c37075c6be9bc04f051b372a30535785bfb0347d 100644
(file)
--- 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;