projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f41ce
)
Call driUpdateFramebufferSize when we've found an updated DRI drawable stamp,
author
Eric Anholt
<anholt@FreeBSD.org>
Sat, 1 Apr 2006 00:55:02 +0000
(
00:55
+0000)
committer
Eric Anholt
<anholt@FreeBSD.org>
Sat, 1 Apr 2006 00:55:02 +0000
(
00:55
+0000)
like other drivers. Failure to do so resulted in incorrect buffer sizes for
resized windows.
src/mesa/drivers/dri/i915/intel_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i915/intel_context.c
b/src/mesa/drivers/dri/i915/intel_context.c
index 7dbc2c8739b85d5d01544d93a65b7e5f1eb469ba..067f5da49e24f49ba19cd13505d1e212f43b6d48 100644
(file)
--- a/
src/mesa/drivers/dri/i915/intel_context.c
+++ b/
src/mesa/drivers/dri/i915/intel_context.c
@@
-555,6
+555,8
@@
void intelWindowMoved( intelContextPtr intel )
intelSetFrontClipRects( intel );
}
else {
+ driUpdateFramebufferSize(&intel->ctx, intel->driDrawable);
+
switch (intel->ctx.DrawBuffer->_ColorDrawBufferMask[0]) {
case BUFFER_BIT_FRONT_LEFT:
intelSetFrontClipRects( intel );