Alan Hourihane wrote:
> Module: Mesa
> Branch: master
> Commit: 1baaf111c8c42ed7f7218c46038f32eb51b9c6eb
> URL:    
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=1baaf111c8c42ed7f7218c46038f32eb51b9c6eb
> 
> Author: Alan Hourihane <al...@vmware.com>
> Date:   Mon Jan  4 17:41:49 2010 +0000
> 
> fix overflow
> 
> ---
> 
>  src/mesa/main/enums.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c
> index 85197af..73d6e6a 100644
> --- a/src/mesa/main/enums.c
> +++ b/src/mesa/main/enums.c
> @@ -3680,7 +3680,7 @@ static const enum_elt all_enums[1885] =
>     { 37780, 0x00002802 }, /* GL_TEXTURE_WRAP_S */
>     { 37798, 0x00002803 }, /* GL_TEXTURE_WRAP_T */
>     { 37816, 0x0000911B }, /* GL_TIMEOUT_EXPIRED */
> -   { 37835, 0xFFFFFFFFFFFFFFFF }, /* GL_TIMEOUT_IGNORED */
> +   { 37835, 0xFFFFFFFF }, /* GL_TIMEOUT_IGNORED */
>     { 37854, 0x000088BF }, /* GL_TIME_ELAPSED_EXT */
>     { 37874, 0x00008648 }, /* GL_TRACK_MATRIX_NV */
>     { 37893, 0x00008649 }, /* GL_TRACK_MATRIX_TRANSFORM_NV */

Alan, the enums.c file is generated with python code in 
src/mesa/glapi/ so this change will get clobbered.

The root problem is GL_TIMEOUT_IGNORED isn't really a GLenum but a 
special GLuint64 value.  We should probably just remove it from the 
ARB_sync.xml file.

I could do that later today.

-Brian

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to