summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/scissor.c
diff options
context:
space:
mode:
authorFredrik Höglund <[email protected]>2015-03-19 19:44:57 +0100
committerFredrik Höglund <[email protected]>2015-03-20 01:25:29 +0100
commit2fd21d8a84bd28461c964e2ab350389a55b7f001 (patch)
treeb738d6ed1ddb75bf8773c11729ef09adbea4e88b /src/mesa/main/scissor.c
parent9d97cd2e3e993658ebe038f4652dc59c3ae56031 (diff)
mesa: Make sure the buffer exists in _mesa_lookup_bufferobj_err
Generate GL_INVALID_OPERATION and return NULL when the buffer object hasn't been created. All callers expect this. v2: Use a more concise error message. Cc: Laura Ekstrand <[email protected]> Reviewed-by: Laura Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main/scissor.c')
0 files changed, 0 insertions, 0 deletions