diff --git a/Qwilight/Qwilight.csproj b/Qwilight/Qwilight.csproj
index 28299fd..cf587d7 100644
--- a/Qwilight/Qwilight.csproj
+++ b/Qwilight/Qwilight.csproj
@@ -49,7 +49,7 @@
-
+
diff --git a/Qwilight/System/DrawingSystem/DrawingSystem.cs b/Qwilight/System/DrawingSystem/DrawingSystem.cs
index f52fde2..028474a 100644
--- a/Qwilight/System/DrawingSystem/DrawingSystem.cs
+++ b/Qwilight/System/DrawingSystem/DrawingSystem.cs
@@ -43,6 +43,8 @@
Not, Position, Area
}
+ const int DXGI_PRESENT_ALLOW_TEARING = 512;
+
enum ReflexMarker
{
eSimulationStart,
@@ -2330,8 +2332,14 @@
}
SetNVLLFlagIf(ReflexMarker.ePresentStart);
- var vesa = Configure.Instance.VESAV2;
- _rawTargetSystem.Present(vesa ? 1 : 0);
+ if (Configure.Instance.VESAV2)
+ {
+ _rawTargetSystem.Present();
+ }
+ else
+ {
+ _rawTargetSystem.Present(0, DXGI_PRESENT_ALLOW_TEARING);
+ }
SetNVLLFlagIf(ReflexMarker.ePresentEnd);
if (isNVLL)