diff options
author | Samuel Pitoiset <[email protected]> | 2017-06-20 15:13:15 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-20 19:15:17 +0200 |
commit | 4f00b2bc7e4515257ff9c674259da1264ab2c9a3 (patch) | |
tree | e860ce4386003bac805d03981f9133068943e1fe /src/mesa/main/matrix.h | |
parent | cb3e01ca7110069f5ffe9ef42df6511f650ec644 (diff) |
mesa: simplify _mesa_IsVertexArray()
_mesa_lookup_vao() already returns NULL if id is zero.
v2: - change the conditional (Ian)
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Alejandro PiƱeiro <[email protected]> (v1)
Diffstat (limited to 'src/mesa/main/matrix.h')
0 files changed, 0 insertions, 0 deletions