Hopefully fixes OSX

This commit is contained in:
twinaphex 2017-03-28 17:01:04 +02:00
parent 1cd98fd975
commit 60e46ae3f7

View File

@ -26,6 +26,9 @@
DRAWBUFFER_BIND(id); \
glDrawElements(mode, count, GL_UNSIGNED_SHORT, indices)
#ifndef GL_MAP_INVALIDATE_RANGE_BIT
#define GL_MAP_INVALIDATE_RANGE_BIT 0x000
#endif
template<typename T>
class DrawBuffer