Homebrew Question OpenGL development on Switch

Nightfox_

Active Member
OP
Newcomer
Joined
Jun 4, 2018
Messages
40
Trophies
0
Age
35
XP
310
Country
Australia
I am currently working on porting an SDL based game to Switch but it is written only for an OpenGL renderer so changing it to software rendering would require a lot of code changes. Is there any way at all of getting OpenGL working on Switch?
 
  • Like
Reactions: Fadi5555

Nightfox_

Active Member
OP
Newcomer
Joined
Jun 4, 2018
Messages
40
Trophies
0
Age
35
XP
310
Country
Australia
Vulkan would be cool to learn but again I’d still have the problem of having to translate all this project’s openGL calls. I’ve never used the software renderer and I’ve never used vulkan so porting this game might be tough
 
  • Like
Reactions: Fadi5555

Nightfox_

Active Member
OP
Newcomer
Joined
Jun 4, 2018
Messages
40
Trophies
0
Age
35
XP
310
Country
Australia
The Switch does already support OpenGL 4.5 though, so I thought it would be easy to hook up to it with our current homebrew tools
 
  • Like
Reactions: Fadi5555

cactusjack901

Well-Known Member
Member
Joined
Feb 3, 2009
Messages
122
Trophies
1
XP
447
Country
United States
The Switch does already support OpenGL 4.5 though, so I thought it would be easy to hook up to it with our current homebrew tools

Not quite; because to use OpenGL right now on the Switch, you have to use the official SDK; we only have Libtransistor (which is already more or less abandoned) or LibNX, which is part of devkitpro, which has been around a long time, and is still under heavy active development.
 
  • Like
Reactions: Fadi5555
General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: Chili dog :ninja: