mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
pstats: Fix compile error on Windows with STDFLOAT_DOUBLE=1
Fixes #1408
This commit is contained in:
parent
5f3f2339e6
commit
3dbaf80841
@ -347,7 +347,9 @@ choose_collector_color(int collector_index) {
|
||||
sizeof(CHOOSECOLORA),
|
||||
_window,
|
||||
0,
|
||||
RGB(encode_sRGB_uchar(current[0]), encode_sRGB_uchar(current[1]), encode_sRGB_uchar(current[2])),
|
||||
RGB(encode_sRGB_uchar((float)current[0]),
|
||||
encode_sRGB_uchar((float)current[1]),
|
||||
encode_sRGB_uchar((float)current[2])),
|
||||
(LPDWORD)custom_colors,
|
||||
CC_FULLOPEN | CC_RGBINIT,
|
||||
0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user