some kind of switch port that uses the new thing - #433
Conversation
|
Where the fuck is my audio |
|
NVM i'm stupid |
|
Issues:
|
fixes flipped rendering
| option(ENABLE_LEGACY_GL "Enable the legacy OpenGL renderer" ON) | ||
| option(ENABLE_MODERN_GL "Enable the modern OpenGL renderer" ON) | ||
| if(PLATFORM STREQUAL "switch") | ||
| # The Switch only supports the modern GL renderer (GLES3 via SDL2) |
There was a problem hiding this comment.
I'm like 80% sure that the switch can do desktop OpenGL, so legacy-gl should work.
There was a problem hiding this comment.
It could probs work with glad, I'll have a look
There was a problem hiding this comment.
I don't think so, switch doesn't have shared libraries and definitely no shared libGL, so glad won't work.
|
Eden segfaults with OS_WINDOWS but not OS_SWITCH, Ryujinx doesn't boot it at all |
|
do you have real hardware to test with? |
|
Nah, I wish I did tho For legal reasons I am totally lying |
| add_compile_options(-ffast-math) | ||
| endif() | ||
|
|
||
| add_compile_definitions(__SWITCH__) |
There was a problem hiding this comment.
Doesn't the dkp compiler define this by default?
There was a problem hiding this comment.
test if removing this line breaks the build
|
Is this done? |
|
Not quite, unless I merge it in a half-done state and rip my hair out over inputs not working and forced widescreen rendering |
|
What about SDL 3? |
|
or glfw3, the switch has a glfw3 port in dkp repos |
Eden shenanigans