From e5f795ad9952b8bba6993ee3e324b22a0f104816 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 9 Mar 2006 05:16:27 +0000 Subject: Made all class members named like mClassMember. --- src/openglgraphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/openglgraphics.cpp') diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp index 5e2cb500..9de59f79 100644 --- a/src/openglgraphics.cpp +++ b/src/openglgraphics.cpp @@ -84,8 +84,8 @@ bool OpenGLGraphics::setVideoMode(int w, int h, int bpp, bool fs, bool hwaccel) bool OpenGLGraphics::drawImage(Image *image, int srcX, int srcY, int dstX, int dstY, int width, int height) { - srcX += image->bounds.x; - srcY += image->bounds.y; + srcX += image->mBounds.x; + srcY += image->mBounds.y; // Find OpenGL texture coordinates float texX1 = srcX / (float)image->mTexWidth; -- cgit v1.2.3-70-g09d2