From 9897a460cc9a86a02b01e28c720025632e6405d1 Mon Sep 17 00:00:00 2001 From: ekeeke31 Date: Wed, 3 Jun 2009 11:04:07 +0000 Subject: [PATCH] ~fixed Window/Plane A initialization --- source/render.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/render.c b/source/render.c index b3ccc30..b5d8c53 100644 --- a/source/render.c +++ b/source/render.c @@ -506,7 +506,6 @@ void render_reset(void) /* Clear display bitmap */ memset(bitmap.data, 0, bitmap.pitch * bitmap.height); - memset(&clip, 0, sizeof(clip)); memset(bg_buf, 0, sizeof(bg_buf)); memset(tmp_buf, 0, sizeof(tmp_buf)); memset(nta_buf, 0, sizeof(nta_buf)); @@ -519,6 +518,8 @@ void render_reset(void) memset(&pixel_32, 0, sizeof(pixel_32)); #endif memset(&pixel_16, 0, sizeof(pixel_16)); + + window_clip(); }