[waffle] [PATCH] waffle: use enum waffle_error instead of int

Chad Versace chad.versace at linux.intel.com
Fri Nov 22 16:33:17 PST 2013


On 11/15/2013 11:30 AM, Brian Paul wrote:
> Using the enum type instead of int makes debugging a little easier.
> It just seems like the right thing to do anyway.

Thanks for the improvement, Brian. This is one of my perennical annoyances with OpenGL --- that
GLenum is really an int --- so I'm surprised that I repeated the annoyance
in waffle.

I also committed a follow-on patch that did the same to waffle_error_to_string().



More information about the waffle mailing list