diff --git a/panda/src/tinydisplay/zline.h b/panda/src/tinydisplay/zline.h index 20914a67f9..8e162d54a4 100644 --- a/panda/src/tinydisplay/zline.h +++ b/panda/src/tinydisplay/zline.h @@ -35,6 +35,7 @@ b = p2->b << 8; #endif +#undef RGB /* from wingdi.h */ #ifdef INTERP_RGB #define RGB(x) x #define RGBPIXEL *pp = RGB_TO_PIXEL(r >> 8,g >> 8,b >> 8) @@ -105,4 +106,4 @@ #undef PUTPIXEL #undef ZZ #undef RGB -#undef RGBPIXEL +#undef RGBPIXEL