Working with Windows also
This commit is contained in:
parent
8d8843cb11
commit
fa0a369357
@ -29,8 +29,13 @@ namespace ZL {
|
|||||||
VAOHolder::~VAOHolder()
|
VAOHolder::~VAOHolder()
|
||||||
{
|
{
|
||||||
#ifndef EMSCRIPTEN
|
#ifndef EMSCRIPTEN
|
||||||
glDeleteVertexArrays(1, &vao);
|
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
glDeleteVertexArrays(1, &vao);
|
||||||
|
#else
|
||||||
|
//Windows
|
||||||
|
glDeleteVertexArray(1, &vao);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user