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