r600: Use R600_SCRATCH_REG_OFFSET rather than RADEON_SCRATCH_REG_OFFSET
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 27 Jul 2009 05:57:25 +0000 (01:57 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Mon, 27 Jul 2009 06:26:41 +0000 (02:26 -0400)
noticed by vehemens on IRC.

src/mesa/drivers/dri/radeon/radeon_screen.c

index 290ef2394de0fed935ec3b545f2c2ac86fa2b280..118e74008fe3c1c46cfda8bfd929215b83a61f8a 100644 (file)
@@ -1025,7 +1025,7 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
                   ((GLubyte *)screen->status.map + RADEON_SCRATCH_REG_OFFSET);
    else
           screen->scratch = (__volatile__ uint32_t *)
-                  ((GLubyte *)screen->status.map + RADEON_SCRATCH_REG_OFFSET);
+                  ((GLubyte *)screen->status.map + R600_SCRATCH_REG_OFFSET);
 
    screen->buffers = drmMapBufs( sPriv->fd );
    if ( !screen->buffers ) {