[Mesa-dev] [PATCH] gl.h, gl2.h, gallium: use stdbool.h for GLboolean and boolean

Brian Paul brianp at vmware.com
Wed Oct 13 12:05:55 PDT 2010


On 10/13/2010 12:26 PM, Nicolas Kaiser wrote:
> This patch adds support for the compiler built-in Boolean type
> to GLboolean and the "boolean" type in gallium
> by bringing them in line with the "bool" type in stdbool.h.
>
> Signed-off-by: Nicolas Kaiser<nikai at nikai.net>

Every GL/gl.h file I've seen over the years defines GLboolean as-is.
It seems a bit risky (and unnecessary) to me to change it.

-Brian


More information about the mesa-dev mailing list