diff options
author | Brian Paul <[email protected]> | 2012-02-20 11:07:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-02-24 08:03:08 -0700 |
commit | 3f8a61ffa256b4fe36e93a0904b8893c805eb313 (patch) | |
tree | 9b2da906904f3bb9d78895dc4dbc7663e91397dd /src/mesa/drivers/x11 | |
parent | 47d88ef204b42a9220c6be3e98c92df9c9aa0860 (diff) |
xlib: use SWRAST_MAX_WIDTH/HEIGHT
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r-- | src/mesa/drivers/x11/fakeglx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index 916296d1972..2ff9e7ea6b4 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -2220,13 +2220,13 @@ Fake_glXCreatePbuffer( Display *dpy, GLXFBConfig config, if (width == 0 || height == 0) return 0; - if (width > MAX_WIDTH || height > MAX_HEIGHT) { + if (width > SWRAST_MAX_WIDTH || height > SWRAST_MAX_HEIGHT) { /* If allocation would have failed and GLX_LARGEST_PBUFFER is set, * allocate the largest possible buffer. */ if (useLargest) { - width = MAX_WIDTH; - height = MAX_HEIGHT; + width = SWRAST_MAX_WIDTH; + height = SWRAST_MAX_HEIGHT; } } |