src/gl/compiler.cpp

changeset 291
42b4953dff85
parent 290
0fd926ebb03b
child 297
bc92f97498f7
--- a/src/gl/compiler.cpp	Tue Jun 28 17:35:56 2022 +0300
+++ b/src/gl/compiler.cpp	Tue Jun 28 17:59:34 2022 +0300
@@ -344,7 +344,7 @@
 		}
 		const GLsizeiptr size = static_cast<int>(vector.size() * sizeof vector[0]);
 		object.buffer.bind();
-		glfunc().glBufferSubData(GL_ARRAY_BUFFER, 0, size, vector.data());
+		glBufferSubData(GL_ARRAY_BUFFER, 0, size, vector.data());
 		object.buffer.release();
 	}
 }

mercurial