summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/glwrapper.h
diff options
context:
space:
mode:
authorfrogbotherer <therealchriswest@hotmail.com>2012-07-08 16:16:41 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-07-08 22:56:06 +0200
commit2b9d1cd128bf49181203f7936c34b0e5858a4202 (patch)
tree9e8a1c72942e1db28d472c866782e9aad4f317af /crawl-ref/source/glwrapper.h
parentf79dc8e539c9217bc918c026ce3bdbb2cf20dde4 (diff)
downloadcrawl-ref-2b9d1cd128bf49181203f7936c34b0e5858a4202.tar.gz
crawl-ref-2b9d1cd128bf49181203f7936c34b0e5858a4202.zip
more efficient font rendering using glTexSubImage2D
Diffstat (limited to 'crawl-ref/source/glwrapper.h')
-rw-r--r--crawl-ref/source/glwrapper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/glwrapper.h b/crawl-ref/source/glwrapper.h
index 137781bde0..1fcddd8375 100644
--- a/crawl-ref/source/glwrapper.h
+++ b/crawl-ref/source/glwrapper.h
@@ -176,7 +176,8 @@ public:
virtual void generate_textures(size_t count, unsigned int *textures) = 0;
virtual void bind_texture(unsigned int texture) = 0;
virtual void load_texture(unsigned char *pixels, unsigned int width,
- unsigned int height, MipMapOptions mip_opt) = 0;
+ unsigned int height, MipMapOptions mip_opt,
+ int xoffset=-1, int yoffset=-1) = 0;
// Debug
#ifdef ASSERTS