Refactor OpenGL library handling #147

Merged
alufolie91 merged 18 commits from refactorogl into Saturn-Next 2024-12-22 19:22:12 +01:00
alufolie91 commented 2024-12-08 15:54:26 +01:00 (Migrated from github.com)

Instead of accessing everything per function pointers, let stuff directly have access to all the opengl functions
Should be a bit faster, but effectively makes the code less portable (tho honestly, who wants saturn on their NDS or smth at this point?)
Also makes access to things easier and adding new functions aswell

This also completely refactors the internal texture creation and updating in "GL_UpdateTexture"

Instead of accessing everything per function pointers, let stuff directly have access to all the opengl functions Should be a bit faster, but effectively makes the code less portable (tho honestly, who wants saturn on their NDS or smth at this point?) Also makes access to things easier and adding new functions aswell This also completely refactors the internal texture creation and updating in "GL_UpdateTexture"
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: saturn/SRB2Kart-Saturn#147