We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb7b4c commit 350f2b0Copy full SHA for 350f2b0
source/dk_device.h
@@ -99,7 +99,7 @@ class Device
99
100
// Rasterizer expects clip space +Y to point down. In UpperLeft mode with Y pointing up
101
// (or LowerLeft mode with Y pointing down) we need to flip the incoming Y coordinate.
102
- bool viewportFlipY() const noexcept { return !isYAxisPointsDown() ^ !isOriginLowerLeft(); }
+ bool viewportFlipY() const noexcept { return isYAxisPointsDown() ^ !isOriginLowerLeft(); }
103
104
DkResult initialize() noexcept;
105
~Device();
0 commit comments