Shpoike / Quakespasm

Extra bloaty junk to modernise stuff a bit.
http://triptohell.info/moodles/qss/
GNU General Public License v2.0
184 stars 41 forks source link

[Bug] Incorrect texture bindings in Main Menu #53

Closed Rinnegatamante closed 2 years ago

Rinnegatamante commented 2 years ago

I'm working on a PSVITA port of the engine and I'm experiencing incorrect texture bindings in main menu only. Any idea what could be the cause? I doublechecked that the OpenGL implementation is fine by debugging strictly all the texture uploads that the game performs and everything should work fine.

Some references on the system:

Quake (Registered Version) Main Menu: 39829e00451207db324731441501004d-20210730-0104

Quake (Registered Version) Pause Menu: 39829e00451207db324731441501004d-20210730-0105

Slayer's Testaments Main Menu: 39829e00451207db324731441501004d-20210729-0103

Rinnegatamante commented 2 years ago

By doing further tests, it looks like Quakespasm is binding textures supposed to be for a specific draw actually on next draw. To make it more clear: Let's suppose Quake draws in sequence: conchars, conback, scrap0 and iterates between those, in my current state, when in main menu (during game the bindings are correct), i'll have: conchars draw using scrap0 texture, conback draw using conchars texture, scrap0 draw using conback texture.