aconstlink / motor

Software Framework for Audio/Visual/Interactive Real-Time Applications
MIT License
1 stars 0 forks source link

fix gl glx glcorearb hell #28

Closed aconstlink closed 5 months ago

aconstlink commented 5 months ago

After merging all the platform specific code in one single library, gcc complaint about gl function pointers not defined or defined differently with the EXT name in it.

The issue is in mixing glcorearb.h with glx.h because glx.h includes gl.h which which is not allowed/working because of the definitions.

The idea here is to separate all the affected code into its own .cpp files by using the pimpl idiom to defere the particular header inclusions to its own compilation units.