summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-11 12:04:01 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-11 12:04:01 +0300
commit16aee7e951a63492548380517eb550be93ce4369 (patch)
tree30727de9a1cc21c0b136cae0aa9a0e6d9e032f4e /src/render
parent1d9fa814bd0eff8fe5d892141ee731f95143766f (diff)
downloadmv-16aee7e951a63492548380517eb550be93ce4369.tar.gz
mv-16aee7e951a63492548380517eb550be93ce4369.tar.bz2
mv-16aee7e951a63492548380517eb550be93ce4369.tar.xz
mv-16aee7e951a63492548380517eb550be93ce4369.zip
Add OpenGL glBindVertexBuffers.
Add info about missing and found OpenGL functions.
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,