diff options
| author | Neil Roberts <neil@linux.intel.com> | 2008-12-02 15:03:01 +0000 |
|---|---|---|
| committer | Ian Romanick <ian.d.romanick@intel.com> | 2008-12-14 18:46:17 -0800 |
| commit | 1709ab01ef24279c782e420568e9257b4b92b224 (patch) | |
| tree | d7aeb26916fbfcb3af6f19601d7ad47b361b977a /src/mesa/glapi/glthread.c | |
| parent | 0f73302d24f4201813da2939742c5bcb6964b3b1 (diff) | |
Return 0 as the request size when the pixels parameter is NULL
img_null_flag was being ignored when calculating the size of a request
so a BadLength error gets thrown for glTexImage3D when the pixels
parameter is NULL.
See bug #11003
Diffstat (limited to 'src/mesa/glapi/glthread.c')
0 files changed, 0 insertions, 0 deletions
