* fix the OpenGL shito under Linux

* make the 'BIOS not found' errors a bit more user-friendly
This commit is contained in:
Arisotura
2020-05-29 22:18:21 +02:00
parent 054b94b2b7
commit 88823f66cb
2 changed files with 16 additions and 4 deletions

View File

@ -49,9 +49,21 @@
// if you need more OpenGL functions, add them to the macronator here
#define DO_PROCLIST(func) \
#ifdef __WIN32__
#define DO_PROCLIST_1_3(func) \
func(GLACTIVETEXTURE, glActiveTexture); \
func(GLBLENDCOLOR, glBlendColor); \
#else
#define DO_PROCLIST_1_3(func)
#endif
#define DO_PROCLIST(func) \
DO_PROCLIST_1_3(func) \
\
func(GLGENFRAMEBUFFERS, glGenFramebuffers); \
func(GLDELETEFRAMEBUFFERS, glDeleteFramebuffers); \