Remove unused code
This commit is contained in:
@@ -531,21 +531,17 @@ class Graphic
|
|||||||
glEnd();
|
glEnd();
|
||||||
//glFlush();
|
//glFlush();
|
||||||
}
|
}
|
||||||
bool writeClip;
|
|
||||||
SDL_Rect[2] writeArea;
|
SDL_Rect[2] writeArea;
|
||||||
bool displayClip;
|
|
||||||
SDL_Rect[2] displayArea;
|
SDL_Rect[2] displayArea;
|
||||||
void clip(bool clipmode)
|
void clip(bool clipmode)
|
||||||
{
|
{
|
||||||
if (clipmode)
|
if (clipmode)
|
||||||
{
|
{
|
||||||
clip(clipmode, 0, 0, 512, 512);
|
clip(clipmode, 0, 0, 512, 512);
|
||||||
//displayArea = SDL_Rect(0, 0, 511, 511);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
clip(clipmode, 0, 0, petitcom.currentScreenWidth, petitcom.currentScreenHeight);
|
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)
|
void clip(bool clipmode, int x, int y, int w, int h)
|
||||||
|
|||||||
Reference in New Issue
Block a user