Kenneth Graunke <[email protected]> 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 <[email protected]>
This series is: Reviewed-by: Eric Anholt <[email protected]>
pgppxGr4P8QiI.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
