Skip to content

Commit

Permalink
xrRender_R1: Allow FFP only if it's supported (OpenXRay#1313)
Browse files Browse the repository at this point in the history
Also, removed -force_ffp key, not needed.
  • Loading branch information
Xottab-DUTY committed Jun 28, 2023
1 parent cb3d8ac commit d16e02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRenderPC_R1/FStaticRender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void CRender::create()
m_skinning = -1;

// Fixed-function pipeline
o.ffp = !!strstr(Core.Params, "-force_ffp") || ps_r1_flags.test(R1FLAG_FFP);
o.ffp = HW.Caps.hasFixedPipeline && ps_r1_flags.test(R1FLAG_FFP);

// disasm
o.disasm = (strstr(Core.Params, "-disasm")) ? TRUE : FALSE;
Expand Down

0 comments on commit d16e02e

Please sign in to comment.