[Mesa-dev] [PATCH] glapi: add glBlendBarrier(), glPrimitiveBoundingBox() prototypes

Sinclair Yeh syeh at vmware.com
Mon Mar 26 23:44:10 UTC 2018


Reviewed-by: Sinclair Yeh <syeh at vmware.com>

On Mon, Mar 26, 2018 at 04:56:22PM -0600, Brian Paul wrote:
> in glapi_dispatch.c, as we have for many other GLES functions.
> Fixes a cross-compile issue (missing prototype) when GLES support
> is disabled.
> ---
>  src/mapi/glapi/glapi_dispatch.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/mapi/glapi/glapi_dispatch.c b/src/mapi/glapi/glapi_dispatch.c
> index 269adc7..3239523 100644
> --- a/src/mapi/glapi/glapi_dispatch.c
> +++ b/src/mapi/glapi/glapi_dispatch.c
> @@ -143,6 +143,8 @@ GL_API void GL_APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed pa
>  GL_API void GL_APIENTRY glTexParameterxv (GLenum target, GLenum pname, const GLfixed *params);
>  GL_API void GL_APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z);
>  GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const GLvoid *pointer);
> +GL_API void GL_APIENTRY glBlendBarrier (void);
> +GL_API void GL_APIENTRY glPrimitiveBoundingBox (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
>  
>  /* Enable frame pointer elimination on Windows, otherwise forgetting to add
>   * APIENTRY to _mesa_* entrypoints will not cause crashes on debug builds, as
> -- 
> 2.7.4
> 


More information about the mesa-dev mailing list