gl: define GL_NUM_EXTENSIONS if not defined

This commit is contained in:
Matthew Waters 2014-03-16 15:34:11 +01:00
parent 6b3fe44185
commit e8bbcb366e

View file

@ -40,6 +40,10 @@
#define _GNU_SOURCE
#endif
#ifndef GL_NUM_EXTENSIONS
#define GL_NUM_EXTENSIONS 0x0000821d
#endif
#include <gmodule.h>
#include "gl.h"