Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-04-09 20:10:50 +0000
committerStijn Buys <ingar@osirion.org>2008-04-09 20:10:50 +0000
commita2c0647e07d178fd69b962205f4b1163682e2d80 (patch)
tree055f753f4d4a6c9e55ffa250ae13e9831531c40e /src/client/view.cc
parent62423c6b9fbae0f427eac6d26d39db80541d5ee2 (diff)
fix texture binding
Diffstat (limited to 'src/client/view.cc')
-rw-r--r--src/client/view.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/client/view.cc b/src/client/view.cc
index 4180b1e..522526e 100644
--- a/src/client/view.cc
+++ b/src/client/view.cc
@@ -126,8 +126,6 @@ void draw_status()
if (console::visible())
return;
- glBindTexture(GL_TEXTURE_2D, render::textures[1]); // bitmaps/conchars.tga
-
// print the status in the upper left corner
gl::color(1.0f, 1.0f, 1.0f, 1.0f);
std::stringstream status;
@@ -286,11 +284,11 @@ void frame(float seconds)
draw_loader();
}
- // draw the console
+ // draw text elements
+ glBindTexture(GL_TEXTURE_2D, render::textures[1]); // bitmaps/conchars.tga
+
console::draw();
chat::draw();
-
- // draw the status line
draw_status();
// draw the mouse cursor