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