Include glut on Nintendo Switch

Post Reply
octokling
Posts: 1
Joined: Sat Jul 06, 2024 10:39 am

Include glut on Nintendo Switch

Post by octokling » Sat Jul 06, 2024 10:46 am

Hello everyone,

I have a quick question for you.

I am currently creating a video game for Windows and Linux using freeglut (https://github.com/freeglut/freeglut). I would like to know if it is possible to port my game to Nintendo Switch using freeglut as well?

If yes, does anyone have a tutorial on how to import their library onto the Switch?

(I compile my app with with my WSL based on Ubuntu)

Thanks in advance for your answers :wink:

User avatar
fincs
( ͡° ͜ʖ ͡°)
Posts: 103
Joined: Mon Jul 12, 2010 9:45 pm
Location: Seville, Spain
Contact:

Re: Include glut on Nintendo Switch

Post by fincs » Tue Jul 23, 2024 5:12 pm

Hi there. freeglut is a library intended for old-style fixed function GL (think glBegin/glPushMatrix/etc), which is not the best suited GPU programming model for modern GPUs such as the one present in the Nintendo Switch. You may want to look into modern OpenGL programming instead, and use the GLM library (which we provide through pacman) to perform any necessary 3D maths.
Donate to devkitPro - help us stay alive!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests