diff options
author | Ixtli <cg@325i.org> | 2010-03-07 04:00:07 +0900 |
---|---|---|
committer | Enne Walker <ennewalker@users.sourceforge.net> | 2010-04-24 10:19:41 -0400 |
commit | 2792e3b367272b82d54b1c59e75c6fc4f8b7b0fe (patch) | |
tree | f5bf12315a8b9322c2f9f597134a694ee71bd12c /crawl-ref/source/glwrapper.h | |
parent | 39c67a47583ff614d09aa7ed15cce6595d50ebd8 (diff) | |
download | crawl-ref-2792e3b367272b82d54b1c59e75c6fc4f8b7b0fe.tar.gz crawl-ref-2792e3b367272b82d54b1c59e75c6fc4f8b7b0fe.zip |
removed opengl from UIWrapper, fixed indenting in uiwrapper-sdl and added a resizeWindow method in GLStateManager
Diffstat (limited to 'crawl-ref/source/glwrapper.h')
-rw-r--r-- | crawl-ref/source/glwrapper.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/glwrapper.h b/crawl-ref/source/glwrapper.h index fb63c20c09..eaac3bd2a1 100644 --- a/crawl-ref/source/glwrapper.h +++ b/crawl-ref/source/glwrapper.h @@ -4,11 +4,11 @@ #include <stdlib.h> // For size_t #include <vector> // for std::vector -//#include "tiletex.h" // for generic mipmap enums - #ifdef USE_TILE #ifdef USE_GL +struct coord_def; + struct GLW_3VF { GLW_3VF() {}; @@ -84,6 +84,7 @@ public: static void set(const GLState& state); static void pixelStoreUnpackAlignment(unsigned int bpp); static void resetViewForRedraw(float x, float y); + static void resetViewForResize(coord_def &m_windowsz); static void setTransform(GLW_3VF *translate, GLW_3VF *scale); static void resetTransform(); |