mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
dxgsg9: fix type mismatch in min() call
This commit is contained in:
parent
e72fab9520
commit
b7f8ddfe35
@ -207,7 +207,7 @@ issue_parameters(GSG *gsg, int altered) {
|
||||
|
||||
// Calculate how many elements to transfer; no more than it expects,
|
||||
// but certainly no more than we have.
|
||||
int input_size = min(abs(spec._dim[0] * spec._dim[1] * spec._dim[2]), ptr_data->_size);
|
||||
int input_size = min(abs(spec._dim[0] * spec._dim[1] * spec._dim[2]), (int)ptr_data->_size);
|
||||
|
||||
CGparameter p = _cg_parameter_map[spec._id._seqno];
|
||||
switch (ptr_data->_type) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user