SRB2 icon indicating copy to clipboard operation
SRB2 copied to clipboard

OpenGL Support

Open heyjoeway opened this issue 6 years ago • 2 comments

OpenGL is not currently supported. To my knowledge, the Switch port of SDL2 only supports GLES.

heyjoeway avatar Nov 30 '19 20:11 heyjoeway

Is there not a way to emulate OpenGL legacy calls to GLES? jwz did some work to port some legacy GL apps to GLES (targeting iPhones). Dunno if his code could help.

Link to code if you don't want to skim through the rant: https://github.com/emileb/jwzgles

Hamcha avatar Dec 09 '19 09:12 Hamcha

I probably should've been more specific: Switch SDL2 only supports GLES2 (https://github.com/devkitPro/SDL/commit/ba292910f9bb04e49ece65a6f0f93072fc708955). jwzgles seems to only support v1. However, I took a look around for other shims/compatibility layers and found GL4ES (https://github.com/ptitSeb/gl4es). This seems like it should work, but will need a Switch port of its own first. I may look into this over break.

heyjoeway avatar Dec 10 '19 16:12 heyjoeway