X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/15521f07dc09a276839c46168201d31ee1ae4a97..b496c2b16e66ba34a8725fb49a1bf27f0588939c:/video/tnt2.c?ds=sidebyside diff --git a/video/tnt2.c b/video/tnt2.c index 32e646a..c79912c 100644 --- a/video/tnt2.c +++ b/video/tnt2.c @@ -5,6 +5,8 @@ #include #include +#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; }