TINYGL: Rename glColor3fv to tglColor3fv

Linking TinyGL and OpenGL into the same binary could cause conflicts
because both have a glColor3fv function.
It is currently not used in ResidualVM, so it is safe to change this.
This commit is contained in:
Dries Harnie 2014-09-28 12:14:38 +02:00
parent 395cbe24d4
commit 06d077d00d

View file

@ -109,7 +109,7 @@ void tglColor3f(float x, float y, float z) {
tglColor4f(x, y, z, 1);
}
void glColor3fv(float *v) {
void tglColor3fv(float *v) {
tglColor4f(v[0], v[1], v[2], 1);
}