summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiletex.cc
diff options
context:
space:
mode:
authorIxtli <cg@325i.org>2010-03-07 19:25:32 +0900
committerEnne Walker <ennewalker@users.sourceforge.net>2010-04-24 10:19:42 -0400
commit1af9eb811fa812bcb2ad8423093a4e44bcbda08c (patch)
treed7ce280dea340ee4ae30f61053b1d4b4678893d1 /crawl-ref/source/tiletex.cc
parent1f6e8dc85826c531a47ee1f3f12c5e4571ed4fd5 (diff)
downloadcrawl-ref-1af9eb811fa812bcb2ad8423093a4e44bcbda08c.tar.gz
crawl-ref-1af9eb811fa812bcb2ad8423093a4e44bcbda08c.zip
UIWrapper camelCase to underscores_as_spaces
Diffstat (limited to 'crawl-ref/source/tiletex.cc')
-rw-r--r--crawl-ref/source/tiletex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tiletex.cc b/crawl-ref/source/tiletex.cc
index c3ecf305b5..cc38417456 100644
--- a/crawl-ref/source/tiletex.cc
+++ b/crawl-ref/source/tiletex.cc
@@ -130,7 +130,7 @@ bool GenericTexture::load_texture(const char *filename,
unsigned char *p = ((unsigned char*)img->pixels()
+ y * img->pitch() + x * bpp);
unsigned int pixel;
- if (wrapper.byteOrder() == UI_BIG_ENDIAN)
+ if (wrapper.byte_order() == UI_BIG_ENDIAN)
pixel = p[0] << 16 | p[1] << 8 | p[2];
else
pixel = p[0] | p[1] << 8 | p[2];