1
0

Remove unused code

This commit is contained in:
otya128
2016-12-04 22:00:19 +09:00
parent 460787c33d
commit 3729337e3f

View File

@@ -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)