Skip to content

Fix vertically flipped output on the OpenGL backend - #81

Merged
ZivDero merged 1 commit into
OpenTS-Developers:mainfrom
11EJDE11:fix-opengl-render-direction
Aug 30, 2026
Merged

Fix vertically flipped output on the OpenGL backend#81
ZivDero merged 1 commit into
OpenTS-Developers:mainfrom
11EJDE11:fix-opengl-render-direction

Conversation

@11EJDE11

Copy link
Copy Markdown
Contributor

Summary

Fixes #67
The picture was vertically flipped in fullscreen OpenGL when using the PixelArt scale filter with non-integer scaling. The final render now flips it back correctly.

Behavior and compatibility

Bug fix.

Validation

Reproduced with SUN.ini - flipped before, upright after:

[Video]
ScreenWidth=1024
ScreenHeight=768
StretchMovies=no
Fullscreen=yes
WindowWidth=-1
WindowHeight=-1
ScaleMode=PixelArt
IntegerScaling=no
VSync=no
Renderer=4
CursorScale=0

Documentation

Change record: manual/changes/opengl-prescale-flip.md.

Checklist

  • The change is focused; unrelated mechanical cleanup is separate
  • Compatibility effects and any migration are explicit
  • A player- or modder-visible engine change carries its change record
  • Validation distinguishes what passed, failed, and was not run
  • No prohibited assets, binaries, SDKs, credentials, or generated output are included

@github-actions

Copy link
Copy Markdown

Development builds of 90be6ad:

The links work without a GitHub account. Artifacts expire after 90 days, and this comment follows the latest successful build.

@ZivDero
ZivDero merged commit 08d1f57 into OpenTS-Developers:main Aug 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Graphical output vertically flipped on Windows 7

2 participants