TeamForbiddenLLC / warfork-qfusion

Warfork is powered by Qfusion a 3D game engine. Qfusion is a fork of id Tech 2, popularly known as the Quake II engine. Qfusion is free and open-source software subject to the terms of the GNU General Public License.
https://warfork.com
103 stars 44 forks source link

feat: simplify opengl init code #366

Closed pollend closed 3 months ago

pollend commented 3 months ago

I would like to add opengl 3.2 support but the table that is used to define how this gets initialized is kind of complicated to work around and having to figure out which batch of functions are associated with which call is kind of taxing. easier to just write the code out and use a couple of helper functions to then slim down the amount of repetition seem like a good way to do this.