OSDN Git Service

fix glitch from previous check-in (pointer vs int)
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 19 Jan 2004 00:32:43 +0000 (00:32 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 19 Jan 2004 00:32:43 +0000 (00:32 +0000)
src/mesa/drivers/dri/i830/i830_context.c

index 2860113..49ccb9f 100644 (file)
@@ -245,7 +245,7 @@ GLboolean i830CreateContext( const __GLcontextModes *mesaVis,
            12,
            I830_NR_TEX_REGIONS,
            imesa->sarea->texList,
-           (unsigned) & imesa->sarea->texAge, /* XXX shouldn't need cast! */
+           (unsigned *) & imesa->sarea->texAge, /* XXX shouldn't need cast! */
            & imesa->swapped,
            sizeof( struct i830_texture_object_t ),
            (destroy_texture_object_t *) i830DestroyTexObj );