]> Joshua Wise's Git repositories - netwatch.git/blobdiff - video/tnt2.c
rfb chunks
[netwatch.git] / video / tnt2.c
index 32e646a407989ecd17ed35739de95d5f0502d0d4..c79912ca9a435a893a32f27d66bd779ed05999c2 100644 (file)
@@ -5,6 +5,8 @@
 #include <fb.h>
 #include <paging.h>
 
+#include "checksumrect.h"
+
 static void tnt2_getvmode(void *priv);
 
 static struct fbdevice tnt2_fb = {
@@ -27,12 +29,15 @@ static void tnt2_getvmode(void *priv)
                tnt2_fb.curmode.format = FB_RGB888;
                tnt2_fb.curmode.bytestride = 4;
                tnt2_fb.curmode.text = 0;
+               tnt2_fb.checksum_rect = checksum_rect_generic32;
                break;
        case 0:
                tnt2_fb.curmode.text = 1;
+               tnt2_fb.checksum_rect = (checksum_rect_t) 0;
                break;
        default:
                tnt2_fb.curmode.text = 1;
+               tnt2_fb.checksum_rect = (checksum_rect_t) 0;
                outputf("Unknown TNT2 format %x", vgard(0x28));
                break;
        }
This page took 0.022722 seconds and 4 git commands to generate.