diff options
author | frogbotherer <therealchriswest@hotmail.com> | 2012-07-08 16:16:41 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-07-08 22:56:06 +0200 |
commit | 2b9d1cd128bf49181203f7936c34b0e5858a4202 (patch) | |
tree | 9e8a1c72942e1db28d472c866782e9aad4f317af /crawl-ref/source/glwrapper-ogl.h | |
parent | f79dc8e539c9217bc918c026ce3bdbb2cf20dde4 (diff) | |
download | crawl-ref-2b9d1cd128bf49181203f7936c34b0e5858a4202.tar.gz crawl-ref-2b9d1cd128bf49181203f7936c34b0e5858a4202.zip |
more efficient font rendering using glTexSubImage2D
Diffstat (limited to 'crawl-ref/source/glwrapper-ogl.h')
-rw-r--r-- | crawl-ref/source/glwrapper-ogl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/glwrapper-ogl.h b/crawl-ref/source/glwrapper-ogl.h index 9c28183d8b..4d0c3bc47b 100644 --- a/crawl-ref/source/glwrapper-ogl.h +++ b/crawl-ref/source/glwrapper-ogl.h @@ -24,7 +24,8 @@ public: virtual void generate_textures(size_t count, unsigned int *textures); virtual void bind_texture(unsigned int texture); virtual void load_texture(unsigned char *pixels, unsigned int width, - unsigned int height, MipMapOptions mip_opt); + unsigned int height, MipMapOptions mip_opt, + int xoffset=-1, int yoffset=-1); protected: GLState m_current_state; }; |