gl: define GL_NUM_EXTENSIONS if not defined

This commit is contained in:
Matthew Waters 2014-03-16 15:34:11 +01:00 committed by Tim-Philipp Müller
parent e225af3e0d
commit 1732e378f1

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"