diff Makefile @ 42:3c7e1d3fa5a2

Implement OpengL extension handling through new header file dmglexts.h to "define" the entrypoints we require and some wonderful preprocessor macro magic to add checks for them via SDL_GL_ExtensionSupported() and initialize function pointers with SDL_GL_GetProcAddress().
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 05 Dec 2019 21:05:43 +0200
parents 6905d02bca2d
children 99d2c681789f
line wrap: on
line diff
--- a/Makefile	Thu Dec 05 18:32:13 2019 +0200
+++ b/Makefile	Thu Dec 05 21:05:43 2019 +0200
@@ -1,3 +1,4 @@
+CXXFLAGS ?= -DGL_GLEXT_PROTOTYPES
 BINEXT ?= 
 OBJPATH ?= ./obj/unix/