summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-05 09:09:11 -0700
committerBrian <[email protected]>2007-11-05 09:09:11 -0700
commit1f17d845ff7a221a01de721aed81754175ab0a54 (patch)
tree25cb5ee4057e4feca446727d7022527db7a9f5fd /src
parent32f05c35d2814269dfd72c020c06e2cbcba68ad2 (diff)
remove unused intel_fb decls, code
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_lock.c5
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_screen.c4
2 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_lock.c b/src/mesa/drivers/dri/intel_winsys/intel_lock.c
index eee1ccc6ea0..5962b9259d1 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_lock.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_lock.c
@@ -73,16 +73,11 @@ intelContendedLock(struct intel_context *intel, GLuint flags)
void LOCK_HARDWARE( struct intel_context *intel )
{
char __ret=0;
- struct intel_framebuffer *intel_fb = NULL;
int curbuf;
_glthread_LOCK_MUTEX(lockMutex);
assert(!intel->locked);
- if (intel->driDrawable) {
- intel_fb = intel->driDrawable->driverPrivate;
- }
-
curbuf = 0; /* current draw buf: 0 = front, 1 = back */
DRM_CAS(intel->driHwLock, intel->hHWContext,
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_screen.c b/src/mesa/drivers/dri/intel_winsys/intel_screen.c
index 0472ea9fe19..cfa61fa67f8 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_screen.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_screen.c
@@ -300,15 +300,11 @@ intelDestroyBuffer(__DRIdrawablePrivate * driDrawPriv)
static int
intelGetSwapInfo(__DRIdrawablePrivate * dPriv, __DRIswapInfo * sInfo)
{
- struct intel_framebuffer *intel_fb;
-
if ((dPriv == NULL) || (dPriv->driverPrivate == NULL)
|| (sInfo == NULL)) {
return -1;
}
- intel_fb = dPriv->driverPrivate;
-
return 0;
}