[Mesa-dev] [PATCH kmscube 5/5] Remove unneeded GL_GLEXT_PROTOTYPES define

Eric Engestrom eric.engestrom at imgtec.com
Mon Mar 13 16:55:07 UTC 2017


On Monday, 2017-03-13 15:28:32 +0000, Emil Velikov wrote:
> The define itself is sort of a hack for cases where one wants to static
> link against extensions instead of calling {egl,glX}GetProcAddress as
> clearly documented. Since out code is sane enough to not depend on

"our code"

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

OK, now I need to check which changes are left locally once rebased on
top of yours :P

> these, simply drop the quirky define.
> 
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  common.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/common.h b/common.h
> index 2c27082..57f4610 100644
> --- a/common.h
> +++ b/common.h
> @@ -24,7 +24,6 @@
>  #ifndef _COMMON_H
>  #define _COMMON_H
>  
> -#define GL_GLEXT_PROTOTYPES 1
>  #include <GLES2/gl2.h>
>  #include <GLES2/gl2ext.h>
>  #include <EGL/egl.h>
> -- 
> 2.11.1
> 


More information about the mesa-dev mailing list