summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilebuf.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-16 20:37:03 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-16 20:37:03 +0000
commit7e82b5651344d1083dec911a9ceda778ed2a420a (patch)
tree13a2b29cf03ccf357f5540718c5a0c1716c9e3c6 /crawl-ref/source/tilebuf.cc
parent42bde3cb0caf63ea19cfca4237d957c86390b977 (diff)
downloadcrawl-ref-7e82b5651344d1083dec911a9ceda778ed2a420a.tar.gz
crawl-ref-7e82b5651344d1083dec911a9ceda778ed2a420a.zip
Apply my previous commits to trunk: fewer uses of m_dirty, and a
description for Sigmund. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9990 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilebuf.cc')
-rw-r--r--crawl-ref/source/tilebuf.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/crawl-ref/source/tilebuf.cc b/crawl-ref/source/tilebuf.cc
index 241673c02f..95b083dd7e 100644
--- a/crawl-ref/source/tilebuf.cc
+++ b/crawl-ref/source/tilebuf.cc
@@ -56,10 +56,10 @@ void VertBuffer<PTVert>::draw() const
ASSERT(m_tex);
GLState state;
- state.array_vertex = true;
+ state.array_vertex = true;
state.array_texcoord = true;
- state.blend = true;
- state.texture = true;
+ state.blend = true;
+ state.texture = true;
GLStateManager::set(state);
m_tex->bind();
@@ -80,8 +80,8 @@ void VertBuffer<PCVert>::draw() const
GLState state;
state.array_vertex = true;
state.array_colour = true;
- state.blend = true;
- state.texture = false;
+ state.blend = true;
+ state.texture = false;
GLStateManager::set(state);
glVertexPointer(2, GL_FLOAT, sizeof(Vert), &(*this)[0].pos_x);
@@ -99,11 +99,11 @@ void VertBuffer<PTCVert>::draw() const
ASSERT(m_tex);
GLState state;
- state.array_vertex = true;
+ state.array_vertex = true;
state.array_texcoord = true;
- state.array_colour = true;
- state.blend = true;
- state.texture = true;
+ state.array_colour = true;
+ state.blend = true;
+ state.texture = true;
GLStateManager::set(state);
m_tex->bind();