From 9279fff3ac25895f3fa48cd764bdad56d7c735ff Mon Sep 17 00:00:00 2001 From: Jacob Potter Date: Sat, 13 Dec 2008 17:11:40 -0500 Subject: [PATCH 1/1] checksum_rect defaults to null --- video/tnt2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video/tnt2.c b/video/tnt2.c index c04b067..c79912c 100644 --- a/video/tnt2.c +++ b/video/tnt2.c @@ -33,9 +33,11 @@ static void tnt2_getvmode(void *priv) 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; } -- 2.43.0