summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiletex.h
diff options
context:
space:
mode:
authorIxtli <cg@325i.org>2010-04-01 17:03:25 +0900
committerEnne Walker <ennewalker@users.sourceforge.net>2010-04-24 10:19:47 -0400
commitaec2b3cc4236f6fc7e2701d3564e54c562537a1c (patch)
tree67361c3b3dcd6cc999aed7cea910c6415ac4e162 /crawl-ref/source/tiletex.h
parent024c5583f5ff9cccba54004b47529ed9e9b03d60 (diff)
downloadcrawl-ref-aec2b3cc4236f6fc7e2701d3564e54c562537a1c.tar.gz
crawl-ref-aec2b3cc4236f6fc7e2701d3564e54c562537a1c.zip
Merged cgcontext into uiwrapper-sdl
Diffstat (limited to 'crawl-ref/source/tiletex.h')
-rw-r--r--crawl-ref/source/tiletex.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/tiletex.h b/crawl-ref/source/tiletex.h
index 1e313b424f..f49cb030d2 100644
--- a/crawl-ref/source/tiletex.h
+++ b/crawl-ref/source/tiletex.h
@@ -30,16 +30,16 @@ struct tile_def
int ymax;
};
+// Arbitrary post-load texture processing
+typedef bool(*tex_proc_func)(unsigned char *pixels, unsigned int w,
+ unsigned int h);
+
class GenericTexture
{
public:
GenericTexture();
virtual ~GenericTexture();
- // Arbitrary post-load texture processing
- typedef bool(*tex_proc_func)(unsigned char *pixels, unsigned int w,
- unsigned int h);
-
bool load_texture(const char *filename, MipMapOptions mip_opt,
tex_proc_func proc = NULL,
bool force_power_of_two = true);