mesa: trivial simplifications in _mesa_reference_buffer_object_
authorMarek Olšák <marek.olsak@amd.com>
Sun, 21 Aug 2022 17:59:41 +0000 (13:59 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 26 Sep 2022 22:58:16 +0000 (22:58 +0000)
commit1885608184d249d5ffa8cd02ee41dee5378a3142
treeda61d9478b7a074b92f820eacc774e8ecb7f6953
parent17b72129305545164120c93e2526eeae2ec0d5d8
mesa: trivial simplifications in _mesa_reference_buffer_object_

The else statement conditions were tautological.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
src/mesa/main/bufferobj.c