Re: [PATCH 1/7] wined3d: Use MAX_TEXTURES instead of magic number.
3 Oct
2016
3 Oct
'16
1:46 p.m.
On 3 October 2016 at 00:38, Józef Kucia <jkucia(a)codeweavers.com> wrote:
diff --git a/dlls/wined3d/ati_fragment_shader.c b/dlls/wined3d/ati_fragment_shader.c index cd32009..7a04f76 100644 --- a/dlls/wined3d/ati_fragment_shader.c +++ b/dlls/wined3d/ati_fragment_shader.c @@ -1307,7 +1307,7 @@ static void atifs_get_caps(const struct wined3d_gl_info *gl_info, struct fragmen * The proper fix for this is not to use GL_ATI_fragment_shader on cards newer than the * r200 series and use an ARB or GLSL shader instead */ - caps->MaxTextureBlendStages = 8; + caps->MaxTextureBlendStages = MAX_TEXTURES; For what it's worth, note that ati_fragment_shader.c in particular has a couple of other places with hard 8's as well.
3359
Age (days ago)
3359
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet