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:
parent
395cbe24d4
commit
06d077d00d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue