On 4/6/11 6:38 PM, Aaron Plattner wrote:
On Wed, Apr 06, 2011 at 02:37:52PM -0700, Antoine Martin wrote:
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index 804e41e..05450d5 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -85,6 +85,9 @@ static Bool   dummyDriverFunc(ScrnInfoPtr pScrn,
xorgDriverFuncOp op,
  #define DUMMY_MINOR_VERSION PACKAGE_VERSION_MINOR
  #define DUMMY_PATCHLEVEL PACKAGE_VERSION_PATCHLEVEL

+#define DUMMY_MAX_WIDTH=4096
+#define DUMMY_MAX_HEIGHT=4096

4096 is low.  Modern GPUs go up to at least 16kx16k, and I think you can
get away with X screens at the protocol level up to 32kx32k, though I
vaguely recall there being some restriction against that.

It should be 64k-1, but because of protocol bugs (and 4G overflow on 32bpp) it ends up being 32k-1.

Also, #define A B, not #define A=B.

- ajax
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to