From 5fd9e54930d3641ba694cf1e041dd34cc27cf6e2 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 4 May 2016 16:10:16 -0500 Subject: [PATCH] joncambell321 please help test.exe creates garbage if the 2nd rendering page is written writing beyon the 2nd page sw size breaks the program of all programs wwwwwwwww --- src/test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test.c b/src/test.c index 5b9603a3..02fdf1d5 100755 --- a/src/test.c +++ b/src/test.c @@ -137,9 +137,9 @@ void main(int argc, char *argv[]) modexClearRegion(&gvar.video.page[1], 0, gvar.video.page[0].height/2, gvar.video.page[0].width-32, 16, 45); if(IN_KeyDown(6)) modexClearRegion(&gvar.video.page[1], 0, gvar.video.page[0].height/2, gvar.video.page[0].width, 16, 45); if(IN_KeyDown(4+1)){ - modexClearRegion(&gvar.video.page[0], 16, 16, gvar.video.page[0].sw, gvar.video.page[0].sh, 128); - modexClearRegion(&gvar.video.page[0], 32, 32, gvar.video.page[0].sw-32, gvar.video.page[0].sh-32, 42); - modexClearRegion(&gvar.video.page[0], 48, 48, gvar.video.page[0].sw-64, gvar.video.page[0].sh-64, 128); + modexClearRegion(&gvar.video.page[1], 16, 16, gvar.video.page[1].sw, gvar.video.page[1].sh, 128); + modexClearRegion(&gvar.video.page[1], 32, 32, gvar.video.page[1].sw-32, gvar.video.page[1].sh-32, 42); + modexClearRegion(&gvar.video.page[1], 48, 48, gvar.video.page[1].sw-64, gvar.video.page[1].sh-64, 128); } } if(IN_KeyDown(2)) p=0; -- 2.39.5