I am thinking it might be a reasonable idea to create an interface that describes all of the required opengl api calls so that the code can accept different opengl core objects which would bring all of the code back down into a single folder rather than having any core specific code. I am not sure if this will work or not in terms of how opengl handles the same function calls across versions. Thoughts are appreciated.
I am thinking it might be a reasonable idea to create an interface that describes all of the required opengl api calls so that the code can accept different opengl core objects which would bring all of the code back down into a single folder rather than having any core specific code. I am not sure if this will work or not in terms of how opengl handles the same function calls across versions. Thoughts are appreciated.