aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/gltexture.cpp
diff options
context:
space:
mode:
authorAlejandro Marzini2010-07-26 06:58:33 +0000
committerAlejandro Marzini2010-07-26 06:58:33 +0000
commit141e10184181abcf169f59318179d92ec2e65597 (patch)
tree3a218b2cfa799d6b7d9003b275f295c98dbf4dbf /backends/graphics/opengl/gltexture.cpp
parent738a9e78d8e0c2fc096006fd38d66ac743cb7a3d (diff)
downloadscummvm-rg350-141e10184181abcf169f59318179d92ec2e65597.tar.gz
scummvm-rg350-141e10184181abcf169f59318179d92ec2e65597.tar.bz2
scummvm-rg350-141e10184181abcf169f59318179d92ec2e65597.zip
Formatted spaces.
svn-id: r51300
Diffstat (limited to 'backends/graphics/opengl/gltexture.cpp')
-rw-r--r--backends/graphics/opengl/gltexture.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/graphics/opengl/gltexture.cpp b/backends/graphics/opengl/gltexture.cpp
index 188386d0ab..679538585f 100644
--- a/backends/graphics/opengl/gltexture.cpp
+++ b/backends/graphics/opengl/gltexture.cpp
@@ -129,7 +129,7 @@ void GLTexture::allocBuffer(GLuint w, GLuint h) {
// Allocate room for the texture
glTexImage2D(GL_TEXTURE_2D, 0, _glFormat,
- _textureWidth, _textureHeight, 0, _glFormat, _glType, NULL); CHECK_GL_ERROR();
+ _textureWidth, _textureHeight, 0, _glFormat, _glType, NULL); CHECK_GL_ERROR();
_refresh = false;
}
@@ -171,10 +171,10 @@ void GLTexture::drawTexture(GLshort x, GLshort y, GLshort w, GLshort h) {
// Calculate the screen rect where the texture will be drawn
const GLshort vertices[] = {
- x, y,
- x + w, y,
- x, y + h,
- x + w, y + h,
+ x, y,
+ x + w, y,
+ x, y + h,
+ x + w, y + h,
};
glVertexPointer(2, GL_SHORT, 0, vertices); CHECK_GL_ERROR();