mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix compile error on gcc/clang
This commit is contained in:
parent
01b669ccd8
commit
cd8c6ee37f
@ -4472,7 +4472,7 @@ do_get_clear_data(const CData *cdata, unsigned char *into) const {
|
||||
nassertr(cdata->_num_components == 1, 0);
|
||||
*((unsigned int *)into) =
|
||||
((unsigned int)(cdata->_clear_color[0] * 16777215) << 8) +
|
||||
(unsigned int)max(min(cdata->_clear_color[1], 255), 0);
|
||||
(unsigned int)max(min(cdata->_clear_color[1], (PN_stdfloat)255), (PN_stdfloat)0);
|
||||
break;
|
||||
|
||||
case T_int:
|
||||
|
Loading…
x
Reference in New Issue
Block a user