Remove dead code

This commit is contained in:
Jonas Kulla 2014-01-01 02:13:02 +01:00
parent 82fb2f6b25
commit 3f08b6b3db
1 changed files with 1 additions and 10 deletions

View File

@ -127,8 +127,7 @@ class ScreenScene : public Scene
{
public:
ScreenScene(int width, int height)
: pp(width, height),
actW(width), actH(height)
: pp(width, height)
{
updateReso(width, height);
@ -224,12 +223,6 @@ public:
updateReso(width, height);
}
void setScreenSize(int width, int height)
{
actW = width;
actH = height;
}
PingPong &getPP()
{
return pp;
@ -238,7 +231,6 @@ public:
private:
PingPong pp;
Quad screenQuad;
int actW, actH;
#ifdef RGSS2
Quad brightnessQuad;
@ -470,7 +462,6 @@ struct GraphicsPrivate
if (threadData->windowSizeMsg.pollChange(&winSize.x, &winSize.y))
{
recalculateScreenSize();
screen.setScreenSize(scSize.x, scSize.y);
updateScreenResoRatio();
}
}