hedgewars/pas2cSystem.pas
branchwebgl
changeset 9954 bf51bc7e2808
parent 9260 64718974158f
child 10015 4feced261c68
--- a/hedgewars/pas2cSystem.pas	Sun Jan 05 00:46:26 2014 +0400
+++ b/hedgewars/pas2cSystem.pas	Sun Jan 05 10:54:03 2014 +0400
@@ -93,7 +93,7 @@
     glUniform1i, glGetUniformLocation, glEnableVertexAttribArray,
     glGetError, glDeleteProgram, glDeleteBuffers,
     glGenBuffers, glBufferData, glBindBuffer, glewInit,
-    glUniform4f, glDisableVertexAttribArray : procedure;
+    glUniform4f, glDisableVertexAttribArray, glTexEnvi : procedure;
 
     GL_BGRA, GL_BLEND, GL_CLAMP_TO_EDGE, GL_COLOR_ARRAY,
     GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_DEPTH_COMPONENT,
@@ -110,7 +110,7 @@
     GL_COLOR_ATTACHMENT0_EXT, GL_FLOAT, GL_UNSIGNED_BYTE, GL_COMPILE_STATUS,
     GL_INFO_LOG_LENGTH, GL_LINK_STATUS, GL_VERTEX_SHADER, GL_FRAGMENT_SHADER,
     GL_NO_ERROR, GL_ARRAY_BUFFER, GL_STATIC_DRAW, GLEW_OK,
-    GL_AUX_BUFFERS: integer;
+    GL_AUX_BUFFERS, GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE, GL_ADD: integer;
 
     TThreadId : function : integer;