Alexandre Julliard pushed to branch master at wine / wine
Commits: 29d6ed99 by Henri Verbeet at 2025-02-26T22:14:22+01:00 wined3d: Handle a NULL "push_constants" buffer in glsl_fragment_pipe_alpha_test_func().
If WINED3D_RS_ALPHAREF was never set, the corresponding "push_constants" buffer may not exist either. We don't call glsl_fragment_pipe_alpha_test_func() when using core contexts, which is the reason it works there. This fixes a regression introduced by commit 20fb590cfbbcc54f13cd0e2d08da4742ecdef760. Found by running the regression tests.
- - - - -
1 changed file:
- dlls/wined3d/glsl_shader.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/29d6ed9934e6a8bda91f94a2ca71d98...