mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
parent
39d964c4bb
commit
ca9b5dd44a
@ -1192,7 +1192,7 @@ reflect_uniform(int i, char *name_buffer, GLsizei name_buflen) {
|
|||||||
if (param_type == GL_FLOAT_VEC3) {
|
if (param_type == GL_FLOAT_VEC3) {
|
||||||
bind._piece = Shader::SMP_vec3;
|
bind._piece = Shader::SMP_vec3;
|
||||||
} else if (param_type == GL_FLOAT_VEC4) {
|
} else if (param_type == GL_FLOAT_VEC4) {
|
||||||
bind._piece = Shader::SMP_vec3;
|
bind._piece = Shader::SMP_vec4;
|
||||||
} else {
|
} else {
|
||||||
GLCAT.error()
|
GLCAT.error()
|
||||||
<< "p3d_Color should be vec3 or vec4\n";
|
<< "p3d_Color should be vec3 or vec4\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user