Patch for #29144

Henri Verbeet hverbeet at gmail.com
Thu Dec 1 03:11:51 CST 2011


2011/12/1 Aurélien COUDERC <zecoucou at free.fr>:
> @@ -5189,7 +5189,7 @@ static void fillGLAttribFuncs(const struct wined3d_gl_info *gl_info)
>      multi_texcoord_funcs[WINED3D_FFP_EMIT_USHORT4N]  = invalid_texcoord_func;
>      multi_texcoord_funcs[WINED3D_FFP_EMIT_UDEC3]     = invalid_texcoord_func;
>      multi_texcoord_funcs[WINED3D_FFP_EMIT_DEC3N]     = invalid_texcoord_func;
> -    if (gl_info->supported[NV_HALF_FLOAT])
> +    if (gl_info->supported[NV_VERTEX_PROGRAM] && gl_info->supported[NV_HALF_FLOAT])
>      {
>          /* Not supported by ARB_HALF_FLOAT_VERTEX, so check for NV_HALF_FLOAT */
>          multi_texcoord_funcs[WINED3D_FFP_EMIT_FLOAT16_2] = (glMultiTexCoordFunc)GL_EXTCALL(glMultiTexCoord2hvNV);

I missed this the first time, but this one shouldn't depend on
NV_VERTEX_PROGRAM, only the functions for specifying vertex attributes
do.



More information about the wine-devel mailing list