mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-26 02:19:24 +01:00
Revert "#364 allow to use custom shaders with HD 4000 for some games at least"
This reverts commit a753a857879eb0c46c199e9bd60b195ba17bb5fe.
This commit is contained in:
parent
a753a85787
commit
f4b97bac8f
@ -252,19 +252,10 @@ static void ogl_build_programs()
|
|||||||
|
|
||||||
if (_stricmp(g_oglu_version_long, "4.0.0 - Build 10.18.10.4252") == 0 ||
|
if (_stricmp(g_oglu_version_long, "4.0.0 - Build 10.18.10.4252") == 0 ||
|
||||||
_stricmp(g_oglu_version_long, "4.0.0 - Build 10.18.10.5161") == 0)
|
_stricmp(g_oglu_version_long, "4.0.0 - Build 10.18.10.5161") == 0)
|
||||||
{
|
|
||||||
/* First time compiling the shader works, second time fails */
|
|
||||||
static BOOL once;
|
|
||||||
if (!once)
|
|
||||||
{
|
|
||||||
once = TRUE;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
shader_path[0] = 0;
|
shader_path[0] = 0;
|
||||||
g_config.shader[0] = 0;
|
g_config.shader[0] = 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* detect common upscaling shaders and disable them if no upscaling is required */
|
/* detect common upscaling shaders and disable them if no upscaling is required */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user