From 3729337e3f9aec4e493237c329e292c8810dd8ec Mon Sep 17 00:00:00 2001 From: otya128 Date: Sun, 4 Dec 2016 22:00:19 +0900 Subject: [PATCH] Remove unused code --- SMILEBASIC/graphic.d | 4 ---- 1 file changed, 4 deletions(-) diff --git a/SMILEBASIC/graphic.d b/SMILEBASIC/graphic.d index 20bd9ac..68dad33 100644 --- a/SMILEBASIC/graphic.d +++ b/SMILEBASIC/graphic.d @@ -531,21 +531,17 @@ class Graphic glEnd(); //glFlush(); } - bool writeClip; SDL_Rect[2] writeArea; - bool displayClip; SDL_Rect[2] displayArea; void clip(bool clipmode) { if (clipmode) { clip(clipmode, 0, 0, 512, 512); - //displayArea = SDL_Rect(0, 0, 511, 511); } else { clip(clipmode, 0, 0, petitcom.currentScreenWidth, petitcom.currentScreenHeight); - //displayArea = SDL_Rect(0, 0, petitcom.currentScreenWidth - 1, petitcom.currentScreenHeight - 1); } } void clip(bool clipmode, int x, int y, int w, int h)