From a2c0647e07d178fd69b962205f4b1163682e2d80 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 9 Apr 2008 20:10:50 +0000 Subject: fix texture binding --- src/client/view.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/client/view.cc') 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 -- cgit v1.2.3