radeon: Remove unused variable from context.
authorPauli Nieminen <suokkos@gmail.com>
Fri, 31 Jul 2009 11:03:36 +0000 (14:03 +0300)
committerNicolai Hähnle <nhaehnle@gmail.com>
Fri, 31 Jul 2009 19:39:25 +0000 (21:39 +0200)
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
src/mesa/drivers/dri/radeon/radeon_common_context.h
src/mesa/drivers/dri/radeon/radeon_lock.c

index cd1986e1fc37197456a944e2c84d7d6fd73cb38d..d7e94a689493e14f4f819173df69b64b19e6925a 100644 (file)
@@ -445,7 +445,6 @@ struct radeon_context {
    GLuint numClipRects;        /* Cliprects for the draw buffer */
    drm_clip_rect_t *pClipRects;
    unsigned int lastStamp;
-   GLboolean lost_context;
    drm_radeon_sarea_t *sarea;  /* Private SAREA data */
 
    /* Mirrors of some DRI state */
index 5774f7ebcf7ec3d275d874cc0ba93f6265d8efd8..2f0ed1cfceddf2d70aa8574ca1883633369bd8b0 100644 (file)
@@ -85,8 +85,6 @@ void radeonGetLock(radeonContextPtr rmesa, GLuint flags)
        }
 
        rmesa->vtbl.get_lock(rmesa);
-
-       rmesa->lost_context = GL_TRUE;
 }
 
 void radeon_lock_hardware(radeonContextPtr radeon)