Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help needed for Wii and GameCube port #494

Open
mardy opened this issue Jan 4, 2025 · 0 comments
Open

Help needed for Wii and GameCube port #494

mardy opened this issue Jan 4, 2025 · 0 comments

Comments

@mardy
Copy link

mardy commented Jan 4, 2025

Hi there!
I'm trying to port OpenLara to the Wii (and later, GameCube -- these platforms are in most aspects identical), which now has working ports of SDL2 and OpenGL (via OpenGX), though the latter currently only supports up to OpenGL 1.5. I though that, given the number of platforms supported by OpenLara, this would be a very simple port, but it looks like I was too optimistic :-)

The concrete question is about OpenGL support: I see that there is a definition FFP ("Fixed Function Pipeline", I guess), which I interpreted as being a synonym for "OpenGL < 2.0", but after a few attempts at building the project, I'm getting more and more convinced that either I misinterpreted the meaning of this macro or, (more likely) its support is incomplete. For example, I see that the cacheRenderTarget() function makes use of OpenGL 3 framebuffers, and there are no guards with the FFP condition.

What is the meaning of that macro, and am I right in believing that the gapi/gl.h file with the FFP define is the right way to implement a OpenGL 1.5 port?

Just for reference, here's my branch (currently not building): https://github.com/mardy/OpenLara/tree/wii

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant