diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-02 04:36:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-02 04:37:42 +0300 |
commit | ca58a3cced99fc2a8989da0155c1927bc0f08b6f (patch) | |
tree | c8fc16ac2c5c0a9184c17c2920266b96934ed28f /src/opengl1graphics.cpp | |
parent | d4dd89e72f8b1e2c0517981f7e3ffac4a040f9fa (diff) | |
download | plus-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.tar.gz plus-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.tar.bz2 plus-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.tar.xz plus-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.zip |
Replace some getters to direct member access in Image class.
Diffstat (limited to 'src/opengl1graphics.cpp')
-rw-r--r-- | src/opengl1graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl1graphics.cpp b/src/opengl1graphics.cpp index 5f22171d0..78396c8c8 100644 --- a/src/opengl1graphics.cpp +++ b/src/opengl1graphics.cpp @@ -316,8 +316,8 @@ void OpenGL1Graphics::drawImagePattern(Image *image, int x, int y, const int srcX = image->mBounds.x; const int srcY = image->mBounds.y; - const int iw = image->getWidth(); - const int ih = image->getHeight(); + const int iw = image->mBounds.w; + const int ih = image->mBounds.h; if (iw == 0 || ih == 0) return; |