mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 00:20:37 +02:00
remove useless code
This commit is contained in:
parent
2beb872e3b
commit
d083cbb4db
1 changed files with 0 additions and 10 deletions
|
|
@ -386,16 +386,6 @@ intelMakeCurrent(__DRIcontextPrivate * driContextPriv,
|
|||
|
||||
_mesa_make_current(ctx, &intel_fb->Base, readFb);
|
||||
|
||||
/* The drawbuffer won't always be updated by _mesa_make_current:
|
||||
*/
|
||||
if (ctx->DrawBuffer == &intel_fb->Base) {
|
||||
|
||||
if (intel->driDrawable != driDrawPriv) {
|
||||
if (driDrawPriv->pdraw->swap_interval == (unsigned)-1) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ((intel->driDrawable != driDrawPriv) ||
|
||||
(intel->lastStamp != driDrawPriv->lastStamp)) {
|
||||
intel->driDrawable = driDrawPriv;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue