Add another ENABLE_HLSL ifdef

This commit is contained in:
twinaphex 2018-06-25 21:51:05 +02:00
parent 0f4744bed7
commit d967cbc879

View File

@ -388,8 +388,10 @@ bool slang_process(
{
case RARCH_SHADER_HLSL:
case RARCH_SHADER_CG:
#ifdef ENABLE_HLSL
vs_compiler = new CompilerHLSL(output.vertex);
ps_compiler = new CompilerHLSL(output.fragment);
#endif
break;
case RARCH_SHADER_METAL: