diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2008-12-14 18:58:33 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2008-12-14 18:58:33 -0800 |
commit | f1c9b5ab230cbb4124d8d476ae4886d05022adcb (patch) | |
tree | 493a8bde90db2bb33b15cb4867e764ef49cd0ace /glx/indirect_reqsize.c | |
parent | 6383bc93b2ae76361a58653bc7e291df0d6ddfec (diff) |
GLX: Changes resulting from changes to Mesa generator scripts / data
Several recent Mesa commits (listed below) make modifications to the
protocol generator data and scripts. This commit represents the
changes to the generated files resulting from the previous changes.
- 0f73302d24f4201813da2939742c5bcb6964b3b1
GLX: Fix protocol for glTexSubImage#D
- 1709ab01ef24279c782e420568e9257b4b92b224
Return 0 as the request size when the pixels parameter is NULL
- 63cca2ba10ce7dcc8481cfa4be3872dfc269dded
GLX: Include glapi.h before glapitable.h
This is the server-side part of the fix for bugzilla #11003.
Diffstat (limited to 'glx/indirect_reqsize.c')
-rw-r--r-- | glx/indirect_reqsize.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glx/indirect_reqsize.c b/glx/indirect_reqsize.c index 954eecd97..c47f01ee9 100644 --- a/glx/indirect_reqsize.c +++ b/glx/indirect_reqsize.c @@ -572,6 +572,9 @@ __glXTexImage3DReqSize(const GLbyte *pc, Bool swap) type = bswap_32(type); } + if (*(CARD32 *) (pc + 76)) + return 0; + return __glXImageSize(format, type, target, width, height, depth, image_height, row_length, skip_images, skip_rows, alignment); |