]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/display/cirrus_vga_rop2.h
Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-c11-20210615' into staging
[mirror_qemu.git] / hw / display / cirrus_vga_rop2.h
index b86bcd6e09a4e0551e8769b5fb9a252004d5ba45..b208b7348ada28aaed6bd9c09e863e6cb25d7223 100644 (file)
@@ -29,8 +29,8 @@
 #elif DEPTH == 24
 #define PUTPIXEL(s, a, c)    do {          \
         ROP_OP(s, a,     c);               \
-        ROP_OP(s, a + 1, (col >> 8));      \
-        ROP_OP(s, a + 2, (col >> 16));     \
+        ROP_OP(s, a + 1, (c >> 8));        \
+        ROP_OP(s, a + 2, (c >> 16));       \
     } while (0)
 #elif DEPTH == 32
 #define PUTPIXEL(s, a, c)    ROP_OP_32(s, a, c)