summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/syncobj.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-09-14 09:59:18 -0600
committerBrian Paul <[email protected]>2013-10-01 10:10:01 -0600
commit79a03068cdde14c491894d44ee713ab5d08a9aca (patch)
tree12bfa3ea4ac9f08dff67674af76b20170df5af58 /src/mesa/main/syncobj.h
parent69daf335a08934057ef6378b4bac6ca225a461dc (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