mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
Fix gcc/clang compile error
This commit is contained in:
parent
221507437a
commit
c224f351ec
@ -1186,7 +1186,7 @@ issue_parameters(int altered) {
|
||||
}
|
||||
|
||||
GLint p = _glsl_parameter_map[spec._id._seqno];
|
||||
int array_size = min(spec._dim[0], ptr_data->_size / spec._dim[1]);
|
||||
int array_size = min(spec._dim[0], (int)ptr_data->_size / spec._dim[1]);
|
||||
switch (spec._type) {
|
||||
case Shader::SPT_float:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user