projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae4e58c
)
fix miniglx setting virtual size of 832 for 800x600
author
Dave Airlie
<airliedfreedesktop.org>
Mon, 8 Aug 2005 04:17:52 +0000
(
04:17
+0000)
committer
Dave Airlie
<airliedfreedesktop.org>
Mon, 8 Aug 2005 04:17:52 +0000
(
04:17
+0000)
src/glx/mini/miniglx.c
patch
|
blob
|
history
diff --git
a/src/glx/mini/miniglx.c
b/src/glx/mini/miniglx.c
index 1dd21bd1f0ee7f88475f9d925877d609fba9dcda..c1c4446ab71c92509898a207af1ad30326b7b0d8 100644
(file)
--- a/
src/glx/mini/miniglx.c
+++ b/
src/glx/mini/miniglx.c
@@
-437,6
+437,8
@@
SetupFBDev( Display *dpy )
width = dpy->driverContext.shared.virtualWidth;
height = dpy->driverContext.shared.virtualHeight;
+ if (width==832)
+ width=800;
/* Bump size up to next supported mode.
*/
if (width <= 720 && height <= 480) {
@@
-459,8
+461,6
@@
SetupFBDev( Display *dpy )
}
- dpy->driverContext.shared.virtualHeight = height;
- dpy->driverContext.shared.virtualWidth = width;
dpy->driverContext.shared.fbStride = width * (dpy->driverContext.bpp / 8);
/* set the depth, resolution, etc */