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/console.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/client/console.cc') diff --git a/src/client/console.cc b/src/client/console.cc index 04f896f..28d80f0 100644 --- a/src/client/console.cc +++ b/src/client/console.cc @@ -122,10 +122,7 @@ void draw() float con_height = 0.70f; - glBindTexture(GL_TEXTURE_2D, render::textures[1]); // bitmaps/conchars.tga - // draw version below the bottom of the console - gl::enable(GL_TEXTURE_2D); gl::color(0.0f, 1.0f, 0.0f, 0.5f); std::string version(core::name()); version += ' '; @@ -180,7 +177,7 @@ void draw() std::string cursor("_"); draw_text(CHARWIDTH*(input_pos+1), video::height*con_height - CHARHEIGHT - 4 , cursor); } - gl::disable(GL_TEXTURE_2D); + } void flush() -- cgit v1.2.3