summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2015-06-29 10:25:41 -0700
committerMatt Turner <mattst88@gmail.com>2015-09-25 14:08:31 -0700
commitc8dc04d4c00ed45bfe5f7acb34b0d2f6ab8b7f8d (patch)
tree32512ac0cbec4a63ddc7dcc6d0adfb84254c79d2 /src/mesa/main/bufferobj.c
parent266d05a3a0651ac954c91aea12c870940e8a9820 (diff)
downloadexternal_mesa3d-c8dc04d4c00ed45bfe5f7acb34b0d2f6ab8b7f8d.zip
external_mesa3d-c8dc04d4c00ed45bfe5f7acb34b0d2f6ab8b7f8d.tar.gz
external_mesa3d-c8dc04d4c00ed45bfe5f7acb34b0d2f6ab8b7f8d.tar.bz2
c11/threads: Assert that mtx is non-NULL and check return values.
Passing NULL to C11 threads functions isn't safe, so there's no need for our implementation to handle it. Cuts about 1k of .text. text data bss dec hex filename 5009514 198440 26328 5234282 4fde6a i965_dri.so before 5008346 198440 26328 5233114 4fd9da i965_dri.so after Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/bufferobj.c')
0 files changed, 0 insertions, 0 deletions