Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/dk_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Device

// Rasterizer expects clip space +Y to point down. In UpperLeft mode with Y pointing up
// (or LowerLeft mode with Y pointing down) we need to flip the incoming Y coordinate.
bool viewportFlipY() const noexcept { return !isYAxisPointsDown() ^ !isOriginLowerLeft(); }
bool viewportFlipY() const noexcept { return isYAxisPointsDown() ^ !isOriginLowerLeft(); }

DkResult initialize() noexcept;
~Device();
Expand Down