diff options
author | Brian Paul <[email protected]> | 2013-09-14 09:59:18 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-10-01 10:10:01 -0600 |
commit | 79a03068cdde14c491894d44ee713ab5d08a9aca (patch) | |
tree | 12bfa3ea4ac9f08dff67674af76b20170df5af58 /src/mesa/main/syncobj.h | |
parent | 69daf335a08934057ef6378b4bac6ca225a461dc (diff) |
mesa: add missing error checks in _mesa_GetObject[Ptr]Label()
Error checking bufSize isn't mentioned in the spec, but it is in the
man pages. However, I believe the man page is incorrect. Typically,
GL functions that take GLsizei parameters check that they're positive
or non-negative. Negative values don't make sense here.
A spec bug has been filed with Khronos/ARB.
v2: check for negative values, not <= 0.
Diffstat (limited to 'src/mesa/main/syncobj.h')
0 files changed, 0 insertions, 0 deletions