remove unused vars
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 1 Nov 2006 19:25:43 +0000 (19:25 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 1 Nov 2006 19:25:43 +0000 (19:25 +0000)
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_texstate.c

index 29ffa7a017471eb66262424236536ffd3b26787b..9fd769f32174a6ee2a2dbde48d22afb83964a1eb 100644 (file)
@@ -460,7 +460,6 @@ static void update_depth(GLcontext* ctx)
 static void r300Enable(GLcontext* ctx, GLenum cap, GLboolean state)
 {
        r300ContextPtr r300 = R300_CONTEXT(ctx);
-       uint32_t newval;
 
        if (RADEON_DEBUG & DEBUG_STATE)
                fprintf(stderr, "%s( %s = %s )\n", __FUNCTION__,
index 1d78918a2b011d93df9429c350eefa9506d3ced4..cc356afb2301b9fa717947f46bb2177bed7f045b 100644 (file)
@@ -171,7 +171,6 @@ static void r300SetTexImages(r300ContextPtr rmesa,
        GLint i, texelBytes;
        GLint numLevels;
        GLint log2Width, log2Height, log2Depth;
-       const GLuint ui = 1;
 
        /* Set the hardware texture format
         */