Kenneth Graunke <kenn...@whitecape.org> writes: > This isn't the GL API, so there's no reason to use GLboolean. > > Using bool is safer: any non-zero value is treated as "true". When > converting a value to a GLboolean, all but the low byte is discarded, > which means that values like 256 will be incorrectly rendered as false. > > Done via the following vim commands: > :%s/GLboolean/bool/g > :%s/GL_TRUE/true/g > :%s/GL_FALSE/false/g > and one line of manual whitespace tidying. > > Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
This series is: Reviewed-by: Eric Anholt <e...@anholt.net>
pgppxGr4P8QiI.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev