OSDN Git Service

osmesa: remove unused var
authorBrian Paul <brianp@vmware.com>
Wed, 5 May 2010 03:59:15 +0000 (21:59 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 5 May 2010 03:59:54 +0000 (21:59 -0600)
src/mesa/drivers/osmesa/osmesa.c

index e376f12..0432629 100644 (file)
@@ -1061,7 +1061,6 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits,
    struct dd_function_table functions;
    GLint rind, gind, bind, aind;
    GLint redBits = 0, greenBits = 0, blueBits = 0, alphaBits =0;
-   GLenum type = CHAN_TYPE;
 
    rind = gind = bind = aind = 0;
    if (format==OSMESA_RGBA) {