--- a/hedgewars/pas2cSystem.pas Mon May 06 21:20:56 2019 +0200
+++ b/hedgewars/pas2cSystem.pas Mon May 06 21:33:48 2019 +0200
@@ -97,7 +97,8 @@
glGetError, glDeleteProgram, glDeleteBuffers,
glGenBuffers, glBufferData, glBindBuffer, glewInit,
glUniform4f, glDisableVertexAttribArray, glTexEnvi,
- glLoadMatrixf, glMultMatrixf, glGetFloatv: procedure;
+ glLoadMatrixf, glMultMatrixf, glGetFloatv,
+ glDrawBuffer, glReadBuffer: procedure;
GL_BGRA, GL_BLEND, GL_CLAMP_TO_EDGE, GL_COLOR_ARRAY,
GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_DEPTH_COMPONENT,
@@ -115,7 +116,7 @@
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, GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE, GL_ADD,
- GL_MODELVIEW_MATRIX: integer;
+ GL_MODELVIEW_MATRIX, GL_AUX0, GL_BACK: integer;
TThreadId : function : integer;