[Mesa-dev] [PATCH] mesa: Use PROGRAM_ERROR_STRING_ARB instead of the _NV name

Kenneth Graunke kenneth at whitecape.org
Mon Feb 11 23:50:14 PST 2013


On 02/11/2013 11:26 PM, Matt Turner wrote:
> Since NV_fragment_program is now gone. No functional change, since the
> values are identical.
> ---
>   src/mesa/main/getstring.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c
> index aa3a528..5280b4d 100644
> --- a/src/mesa/main/getstring.c
> +++ b/src/mesa/main/getstring.c
> @@ -137,7 +137,7 @@ _mesa_GetString( GLenum name )
>            if (ctx->API == API_OPENGLES)
>               break;
>   	 return shading_language_version(ctx);
> -      case GL_PROGRAM_ERROR_STRING_NV:
> +      case GL_PROGRAM_ERROR_STRING_ARB:
>            if (ctx->API == API_OPENGL_COMPAT &&
>                (ctx->Extensions.ARB_fragment_program ||
>                 ctx->Extensions.ARB_vertex_program)) {

Sensible enough.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>



More information about the mesa-dev mailing list