Skip to content

Fix Paper Mario menus on GLES - #2987

Open
bobbybasketball1999 wants to merge 1 commit into
gonetz:masterfrom
bobbybasketball1999:fix-gl-unbuffered-drawer
Open

bobbybasketball1999 wants to merge 1 commit into
gonetz:masterfrom
bobbybasketball1999:fix-gl-unbuffered-drawer

Conversation

@bobbybasketball1999

Copy link
Copy Markdown

refs libretro/mupen64plus-libretro-nx#431

Currently, the UnbufferedDrawer:

  • only enables aTexCoord0 when the combiner uses tile 0
  • only enables aTexCoord1 when the combiner uses tile 1

That works out for the "inaccurate" VertexShaderTexturedRectFast shader.

But in the default "accurate" mode, VertexShaderTexturedRect only ever uses aTexCoord0.
So when the combiner uses only tile 1, enabling aTexCoord1 does nothing.
It should enable aTexCoord0 whenever either tile 0 or tile 1 is used.


Fixes Paper Mario's file load screen.

Reproduced on Windows using:

  • Project64-Win32-Dev-4.0.0-6807-777fbdf
  • current GLideN64 master
  • FORCE_UNBUFFERED_DRAWER enabled

Before:

GLideN64_PAPER_MARIO_000

After:

GLideN64_PAPER_MARIO_001

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.

1 participant