mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
remove unused intel_fb decls, code
This commit is contained in:
parent
32f05c35d2
commit
1f17d845ff
2 changed files with 0 additions and 9 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue