projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdca6e3
)
intel: Fix compile warning from 7b6424143d8bf572cadd46adcbaa91d2a5598635
author
Eric Anholt
<eric@anholt.net>
Thu, 10 May 2012 15:46:35 +0000
(08:46 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 14 May 2012 23:51:00 +0000
(16:51 -0700)
src/mesa/drivers/dri/intel/intel_tex_image.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_image.c
b/src/mesa/drivers/dri/intel/intel_tex_image.c
index 094d3cd30c437813552c395a71bb6534b415d301..651095a27de1228cb914d4fdef7069c698d301e4 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/
src/mesa/drivers/dri/intel/intel_tex_image.c
@@
-321,8
+321,8
@@
intelSetTexBuffer2(__DRIcontext *pDRICtx, GLint target,
struct intel_renderbuffer *rb;
struct gl_texture_object *texObj;
struct gl_texture_image *texImage;
- int level = 0, internalFormat;
- gl_format texFormat;
+ int level = 0, internalFormat
= 0
;
+ gl_format texFormat
= MESA_FORMAT_NONE
;
texObj = _mesa_get_current_tex_object(ctx, target);
intelObj = intel_texture_object(texObj);