aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/s3v/s3v_lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/s3v/s3v_lock.h')
-rw-r--r--src/mesa/drivers/dri/s3v/s3v_lock.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/s3v/s3v_lock.h b/src/mesa/drivers/dri/s3v/s3v_lock.h
index f1bb2a9bf22..c39d24a38ac 100644
--- a/src/mesa/drivers/dri/s3v/s3v_lock.h
+++ b/src/mesa/drivers/dri/s3v/s3v_lock.h
@@ -7,8 +7,6 @@
#include <sys/ioctl.h>
-#ifdef GLX_DIRECT_RENDERING
-
extern void s3vGetLock( s3vContextPtr vmesa, GLuint flags );
/* Turn DEBUG_LOCKING on to find locking conflicts.
@@ -78,8 +76,6 @@ extern int prevLockLine;
DEBUG_RESET(); \
} while (0)
-#endif
-
#define S3VHW_LOCK( vmesa ) \
DRM_UNLOCK(vmesa->driFd, vmesa->driHwLock, vmesa->hHWContext); \
DRM_SPINLOCK(&vmesa->driScreen->pSAREA->drawable_lock, \