mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
Fix for FTE_CONFIG=wastes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5885 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3a97a75ab2
commit
868f13cb29
1 changed files with 5 additions and 1 deletions
|
@ -7059,7 +7059,11 @@ void Shader_Default2D(parsestate_t *ps, const char *shortname, const void *genar
|
|||
shader_t *s = ps->s;
|
||||
if (Shader_ParseShader(ps, "default2d"))
|
||||
return;
|
||||
if (sh_config.progs_supported && qrenderer != QR_DIRECT3D9 && !dpcompat_nopremulpics.ival)
|
||||
if (sh_config.progs_supported && qrenderer != QR_DIRECT3D9
|
||||
#ifdef HAVE_LEGACY
|
||||
&& !dpcompat_nopremulpics.ival
|
||||
#endif
|
||||
)
|
||||
{
|
||||
//hexen2 needs premultiplied alpha to avoid looking ugly
|
||||
//but that results in problems where things are drawn with alpha not 0, so scale vertex colour by alpha in the fragment program
|
||||
|
|
Loading…
Reference in a new issue