mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix a compile warning on Windows
This commit is contained in:
parent
e6c8957d27
commit
a81e192ba5
@ -35,6 +35,7 @@
|
|||||||
b = p2->b << 8;
|
b = p2->b << 8;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#undef RGB /* from wingdi.h */
|
||||||
#ifdef INTERP_RGB
|
#ifdef INTERP_RGB
|
||||||
#define RGB(x) x
|
#define RGB(x) x
|
||||||
#define RGBPIXEL *pp = RGB_TO_PIXEL(r >> 8,g >> 8,b >> 8)
|
#define RGBPIXEL *pp = RGB_TO_PIXEL(r >> 8,g >> 8,b >> 8)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user