summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-04-16 20:17:08 -0700
committerZack Rusin <[email protected]>2013-04-16 23:38:47 -0700
commitbe497ac9d3b5c50a4cd126578081bd54b68f16a9 (patch)
tree15c6fd0fce3284ed8f9c551f6b45cdc00eef36f2 /src/mesa/main/state.c
parent80ee4a407a2668f6a6a410c3e56ae9910510f773 (diff)
draw/gs: Return early if the passed geometry shader is null
Can happen if we were using stream output without geometry shader, by returning early we avoid a crash. Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/state.c')
0 files changed, 0 insertions, 0 deletions