|
2 | 2 |
|
3 | 3 | #if _WIN32
|
4 | 4 | # define NUM_GLFUNCS 58
|
5 |
| -# define NUM_EXTFUNCS 37 |
| 5 | +# define NUM_EXTFUNCS 38 |
6 | 6 | # define NUM_EXTENSIONS 11
|
7 | 7 | #elif __linux__
|
8 | 8 | # define NUM_GLFUNCS 58
|
9 |
| -# define NUM_EXTFUNCS 37 |
| 9 | +# define NUM_EXTFUNCS 38 |
10 | 10 | # define NUM_EXTENSIONS 11
|
11 | 11 | #else
|
12 | 12 | # define NUM_GLFUNCS 58
|
13 |
| -# define NUM_EXTFUNCS 37 |
| 13 | +# define NUM_EXTFUNCS 38 |
14 | 14 | # define NUM_EXTENSIONS 11
|
15 | 15 | #endif
|
16 | 16 |
|
@@ -104,6 +104,7 @@ static const char *GLNames[NUM_GLFUNCS + NUM_EXTFUNCS] = {
|
104 | 104 | "glUniform2f",
|
105 | 105 | "glUniform1i",
|
106 | 106 | "glUniform3fv",
|
| 107 | + "glUniform4fv", |
107 | 108 | "glVertexAttrib3fv",
|
108 | 109 | "glVertexAttribPointer",
|
109 | 110 | "glBindRenderbufferEXT",
|
@@ -657,6 +658,12 @@ static void APIENTRY logUniform3fv(GLint arg1, GLsizei arg2, const GLfloat * v)
|
657 | 658 | lib.Uniform3fv(arg1, arg2, v);
|
658 | 659 | }
|
659 | 660 |
|
| 661 | +static void APIENTRY logUniform4fv(GLint arg1, GLsizei arg2, const GLfloat) |
| 662 | +{ |
| 663 | + printf("%s\n", "glUniform4fv"); |
| 664 | + lib.Uniform4fv(arg1, arg2, GLfloat); |
| 665 | +} |
| 666 | + |
660 | 667 | static void APIENTRY logVertexAttrib3fv(GLuint index, const GLfloat * v)
|
661 | 668 | {
|
662 | 669 | printf("%s\n", "glVertexAttrib3fv");
|
@@ -832,6 +839,7 @@ static const GL_t logFuncs = {
|
832 | 839 | logUniform2f,
|
833 | 840 | logUniform1i,
|
834 | 841 | logUniform3fv,
|
| 842 | + logUniform4fv, |
835 | 843 | logVertexAttrib3fv,
|
836 | 844 | logVertexAttribPointer,
|
837 | 845 | logBindRenderbufferEXT,
|
@@ -871,10 +879,10 @@ static extInfo_t extInfo[NUM_EXTENSIONS] = {
|
871 | 879 | {"1.2\0", NULL, NULL, 0, 0, 0, 0},
|
872 | 880 | {"1.3\0", NULL, NULL, NUM_GLFUNCS+0, 2, 0, 0},
|
873 | 881 | {"1.4\0", NULL, NULL, 0, 0, 0, 0},
|
874 |
| - {"2.0\0", NULL, NULL, NUM_GLFUNCS+2, 24, 0, 0}, |
| 882 | + {"2.0\0", NULL, NULL, NUM_GLFUNCS+2, 25, 0, 0}, |
875 | 883 | {"3.1\0", NULL, NULL, 0, 0, 0, 0},
|
876 | 884 | {"GL_EXT_texture_compression_s3tc\0", NULL, NULL, 0, 0, 0, 0},
|
877 |
| - {"GL_EXT_framebuffer_object\0", NULL, NULL, NUM_GLFUNCS+26, 11, 0, 0}, |
| 885 | + {"GL_EXT_framebuffer_object\0", NULL, NULL, NUM_GLFUNCS+27, 11, 0, 0}, |
878 | 886 | {"GL_ARB_half_float_pixel\0", NULL, NULL, 0, 0, 0, 0},
|
879 | 887 | {"GL_ARB_texture_float\0", NULL, NULL, 0, 0, 0, 0},
|
880 | 888 | {"GL_ARB_texture_compression_rgtc\0" "GL_EXT_texture_compression_rgtc\0", NULL, NULL, 0, 0, 0, 0},
|
|
0 commit comments