summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/glwrapper-ogl.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-08-07 08:48:54 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-08-08 15:55:11 +0200
commit1401ecdd7c55daa75c9b869111823c394642c1a7 (patch)
tree7c5cdd51a5d201474f6f12594114dccaa53f17d6 /crawl-ref/source/glwrapper-ogl.cc
parentf4edcf281e455f391ae2b46aabc9c90523d5df52 (diff)
downloadcrawl-ref-1401ecdd7c55daa75c9b869111823c394642c1a7.tar.gz
crawl-ref-1401ecdd7c55daa75c9b869111823c394642c1a7.zip
Formatting fixes.
Diffstat (limited to 'crawl-ref/source/glwrapper-ogl.cc')
-rw-r--r--crawl-ref/source/glwrapper-ogl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/glwrapper-ogl.cc b/crawl-ref/source/glwrapper-ogl.cc
index eb25715cc2..98c6672b91 100644
--- a/crawl-ref/source/glwrapper-ogl.cc
+++ b/crawl-ref/source/glwrapper-ogl.cc
@@ -215,7 +215,7 @@ void OGLStateManager::load_texture(unsigned char *pixels, unsigned int width,
{
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
- if( xoffset >= 0 && yoffset >= 0 )
+ if (xoffset >= 0 && yoffset >= 0)
glTexSubImage2D(GL_TEXTURE_2D, 0, xoffset, yoffset, width, height,
texture_format, format, pixels);
else