summaryrefslogtreecommitdiff
path: root/src/render/mgl.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-04 21:04:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-04 21:04:12 +0300
commit5dbe8005e02b29da820fb4ed09fd3b0645683f70 (patch)
tree8a563efaeb63fa17eaf18466da9a825f9f5f91d1 /src/render/mgl.cpp
parentec5b0e17ff735e58de139b7f8ce0598928958bcc (diff)
downloadmanaverse-5dbe8005e02b29da820fb4ed09fd3b0645683f70.tar.gz
manaverse-5dbe8005e02b29da820fb4ed09fd3b0645683f70.tar.bz2
manaverse-5dbe8005e02b29da820fb4ed09fd3b0645683f70.tar.xz
manaverse-5dbe8005e02b29da820fb4ed09fd3b0645683f70.zip
Add shader related OpenGL functions and some other.
Diffstat (limited to 'src/render/mgl.cpp')
-rw-r--r--src/render/mgl.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/render/mgl.cpp b/src/render/mgl.cpp
index fc6624606..21e2dd274 100644
--- a/src/render/mgl.cpp
+++ b/src/render/mgl.cpp
@@ -58,6 +58,30 @@ defName(glGenBuffers);
defName(glDeleteBuffers);
defName(glBindBuffer);
defName(glBufferData);
+defName(glCreateShader);
+defName(glDeleteShader);
+defName(glGetShaderiv);
+defName(glGetShaderInfoLog);
+defName(glGetShaderSource);
+defName(glShaderSource);
+defName(glCompileShader);
+defName(glLinkProgram);
+defName(glDeleteProgram);
+defName(glCreateProgram);
+defName(glAttachShader);
+defName(glDetachShader);
+defName(glGetAttachedShaders);
+defName(glGetUniformLocation);
+defName(glGetActiveUniform);
+defName(glGetProgramiv);
+defName(glBindFragDataLocation);
+defName(glUseProgram);
+defName(glValidateProgram);
+defName(glGetAttribLocation);
+defName(glUniform1f);
+defName(glUniform2f);
+defName(glUniform3f);
+defName(glUniform4f);
#ifdef WIN32
defName(wglGetExtensionsString);