added a few more fallbackStrings (Andreas Stenglein)
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_lock.h
index c28cf23161ed8e2a155921c7ce2bff93ed21cf94..4e8617eb8f1e6d7e141a5cbbee6992e89a1f45bc 100644 (file)
@@ -37,8 +37,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #ifndef __RADEON_LOCK_H__
 #define __RADEON_LOCK_H__
 
-#ifdef GLX_DIRECT_RENDERING
-
 extern void radeonGetLock( radeonContextPtr rmesa, GLuint flags );
 
 /* Turn DEBUG_LOCKING on to find locking conflicts.
@@ -105,11 +103,6 @@ extern int prevLockLine;
                  rmesa->dri.hwLock,                                    \
                  rmesa->dri.hwContext );                               \
       DEBUG_RESET();                                                   \
-      if ( rmesa->save_on_next_unlock ) {                                      \
-        radeonSaveHwState( rmesa );                                    \
-        rmesa->save_on_next_unlock = GL_FALSE;                         \
-      }                                                                        \
    } while (0)
 
-#endif
 #endif /* __RADEON_LOCK_H__ */