mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 04:50:11 +01:00
Call driUpdateFramebufferSize when we've found an updated DRI drawable stamp,
like other drivers. Failure to do so resulted in incorrect buffer sizes for resized windows.
This commit is contained in:
parent
e3f41ce611
commit
9e8659f346
1 changed files with 2 additions and 0 deletions
|
|
@ -555,6 +555,8 @@ void intelWindowMoved( intelContextPtr intel )
|
||||||
intelSetFrontClipRects( intel );
|
intelSetFrontClipRects( intel );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
driUpdateFramebufferSize(&intel->ctx, intel->driDrawable);
|
||||||
|
|
||||||
switch (intel->ctx.DrawBuffer->_ColorDrawBufferMask[0]) {
|
switch (intel->ctx.DrawBuffer->_ColorDrawBufferMask[0]) {
|
||||||
case BUFFER_BIT_FRONT_LEFT:
|
case BUFFER_BIT_FRONT_LEFT:
|
||||||
intelSetFrontClipRects( intel );
|
intelSetFrontClipRects( intel );
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue