[Mesa-dev] [PATCH] build: Fix "no previous prototype for glReadBufferNV" with --disable-asm

Vinson Lee vlee at freedesktop.org
Wed Jan 30 23:33:22 PST 2013


On Fri, Jan 18, 2013 at 10:23 AM, Matt Turner <mattst88 at gmail.com> wrote:
> Fixes https://bugs.freedesktop.org/show_bug.cgi?id=56710
> ---
>  src/mapi/glapi/glapi_dispatch.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/mapi/glapi/glapi_dispatch.c b/src/mapi/glapi/glapi_dispatch.c
> index be65ebe..5a0897e 100644
> --- a/src/mapi/glapi/glapi_dispatch.c
> +++ b/src/mapi/glapi/glapi_dispatch.c
> @@ -86,7 +86,7 @@
>  #ifdef GLX_INDIRECT_RENDERING
>  /* those link to libglapi.a should provide the entry points */
>  #define _GLAPI_SKIP_PROTO_ENTRY_POINTS
> -#endif
>  #include "glapi/glapitemp.h"
> +#endif
>
>  #endif /* USE_X86_ASM */
> --
> 1.7.8.6
>

Tested-by: Vinson Lee <vlee at freedesktop.org>


More information about the mesa-dev mailing list