diff options
author | Eric Anholt <[email protected]> | 2009-12-22 10:58:47 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-12-22 14:20:26 -0800 |
commit | 5727147f894137f194d8efc7adb81b80a9b5acd7 (patch) | |
tree | e35d1f4872ede887ff77294059ebea53c1c77136 /src/mesa/drivers/dri/intel/intel_fbo.c | |
parent | 1a80fe461e162d5b6e25bd270a54e6662f72e5b3 (diff) |
intel: Remove unused stored values reported by clang.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index 608f75b8240..fc502a87d37 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -398,8 +398,6 @@ static GLboolean intel_update_wrapper(GLcontext *ctx, struct intel_renderbuffer *irb, struct gl_texture_image *texImage) { - gl_format texFormat; - if (texImage->TexFormat == MESA_FORMAT_ARGB8888) { irb->Base.DataType = GL_UNSIGNED_BYTE; DBG("Render to RGBA8 texture OK\n"); @@ -435,8 +433,6 @@ intel_update_wrapper(GLcontext *ctx, struct intel_renderbuffer *irb, irb->Base.Format = texImage->TexFormat; - texFormat = texImage->TexFormat; - irb->Base.InternalFormat = texImage->InternalFormat; irb->Base._BaseFormat = _mesa_base_fbo_format(ctx, irb->Base.InternalFormat); irb->Base.Width = texImage->Width; |