diff --git a/src/util/AvaraGL.cpp b/src/util/AvaraGL.cpp index b302c9a..5c3783f 100644 --- a/src/util/AvaraGL.cpp +++ b/src/util/AvaraGL.cpp @@ -334,10 +334,10 @@ void AvaraGLDrawPolygons(CBSPPart* part) { glDisable(GL_CULL_FACE); } - glBindVertexArray(NULL); + glBindVertexArray(0); glCheckErrors(); - glBindBuffer(GL_ARRAY_BUFFER, NULL); + glBindBuffer(GL_ARRAY_BUFFER, 0); glCheckErrors(); }