add option to allow upscaling via shader2
must insert "-noscale" into filename to activate
This commit is contained in:
parent
f15cac1824
commit
e0b7d26856
1 changed files with 3 additions and 1 deletions
|
@ -259,7 +259,9 @@ static void ogl_build_programs()
|
|||
{
|
||||
g_ogl.shader1_program = oglu_build_program_from_file(shader_path, core_profile);
|
||||
|
||||
if (g_ogl.shader1_program && strstr(g_config.shader, "xbrz-freescale-multipass.glsl") != NULL)
|
||||
if (g_ogl.shader1_program &&
|
||||
(strstr(g_config.shader, "xbrz-freescale-multipass.glsl") != NULL ||
|
||||
strstr(g_config.shader, "-noscale") != NULL))
|
||||
{
|
||||
g_ogl.shader2_upscale = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue