summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/mgl.cpp1
-rw-r--r--src/render/mgl.h1
-rw-r--r--src/render/mgltypes.h2
3 files changed, 4 insertions, 0 deletions
diff --git a/src/render/mgl.cpp b/src/render/mgl.cpp
index a7d79f6b0..88f413ea2 100644
--- a/src/render/mgl.cpp
+++ b/src/render/mgl.cpp
@@ -91,6 +91,7 @@ defName(glProgramUniform4f);
defName(glBindVertexBuffer);
defName(glVertexAttribBinding);
defName(glVertexAttribFormat);
+defName(glBindVertexBuffers);
#ifdef WIN32
defName(wglGetExtensionsString);
diff --git a/src/render/mgl.h b/src/render/mgl.h
index 450c6946a..0f918ff02 100644
--- a/src/render/mgl.h
+++ b/src/render/mgl.h
@@ -94,6 +94,7 @@ defNameE(glProgramUniform4f);
defNameE(glBindVertexBuffer);
defNameE(glVertexAttribBinding);
defNameE(glVertexAttribFormat);
+defNameE(glBindVertexBuffers);
#ifdef WIN32
defNameE(wglGetExtensionsString);
diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h
index 690255541..3b481e586 100644
--- a/src/render/mgltypes.h
+++ b/src/render/mgltypes.h
@@ -137,6 +137,8 @@ typedef void (APIENTRY *glVertexAttribBinding_t) (GLuint attribindex,
GLuint bindingindex);
typedef void (APIENTRY *glVertexAttribFormat_t) (GLuint attribindex,
GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
+typedef void (APIENTRY *glBindVertexBuffers_t) (GLuint first, GLsizei count,
+ const GLuint *buffers, const GLuint *offsets, const GLsizei *strides);
// callback
typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id,