mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 11:58:10 +02:00
Call _mesa_resize_framebuffer() within intelWindowMoved(). Fixes
googleearth glitches.
This commit is contained in:
parent
d048b7d36e
commit
0b994ef589
1 changed files with 6 additions and 0 deletions
|
|
@ -552,6 +552,8 @@ void intelSetBackClipRects( intelContextPtr intel )
|
|||
|
||||
void intelWindowMoved( intelContextPtr intel )
|
||||
{
|
||||
__DRIdrawablePrivate *dPriv = intel->driDrawable;
|
||||
|
||||
if (!intel->ctx.DrawBuffer) {
|
||||
intelSetFrontClipRects( intel );
|
||||
}
|
||||
|
|
@ -571,6 +573,10 @@ void intelWindowMoved( intelContextPtr intel )
|
|||
}
|
||||
}
|
||||
|
||||
_mesa_resize_framebuffer(&intel->ctx,
|
||||
(GLframebuffer*)dPriv->driverPrivate,
|
||||
dPriv->w, dPriv->h);
|
||||
|
||||
/* Set state we know depends on drawable parameters:
|
||||
*/
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue