summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/windowmanager-sdl.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-01-19 17:15:01 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-01-20 15:48:56 +0100
commit895ea411bbe873a6654749a248027f7c5384e3b8 (patch)
tree8c7c7c639cd65ded88cb865959ac42fff5cb29a7 /crawl-ref/source/windowmanager-sdl.cc
parent8811394ea52c0af6723e43ed75852a9644b6dfd8 (diff)
downloadcrawl-ref-895ea411bbe873a6654749a248027f7c5384e3b8.tar.gz
crawl-ref-895ea411bbe873a6654749a248027f7c5384e3b8.zip
Delete an unused function and related enums.
Diffstat (limited to 'crawl-ref/source/windowmanager-sdl.cc')
-rw-r--r--crawl-ref/source/windowmanager-sdl.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/crawl-ref/source/windowmanager-sdl.cc b/crawl-ref/source/windowmanager-sdl.cc
index e721f50a0d..54618b4a1b 100644
--- a/crawl-ref/source/windowmanager-sdl.cc
+++ b/crawl-ref/source/windowmanager-sdl.cc
@@ -899,13 +899,6 @@ bool SDLWrapper::load_texture(GenericTexture *tex, const char *filename,
return success;
}
-int SDLWrapper::byte_order()
-{
- if (SDL_BYTEORDER == SDL_BIG_ENDIAN)
- return WM_BIG_ENDIAN;
- return WM_LIL_ENDIAN;
-}
-
SDL_Surface *SDLWrapper::load_image(const char *file) const
{
SDL_Surface *surf = NULL;