Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/chat.cc')
-rw-r--r--src/client/chat.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/chat.cc b/src/client/chat.cc
index 8de2665..fc0ce1b 100644
--- a/src/client/chat.cc
+++ b/src/client/chat.cc
@@ -72,9 +72,8 @@ void draw()
if (console::visible() || !visible())
return;
-
+
// draw the console input
- gl::enable(GL_TEXTURE_2D);
gl::color(1.0f, 1.0f, 1.0f, 1.0f);
draw_text(CHARWIDTH , 4 + CHARHEIGHT * (MAXNOTIFYLINES+1), "say");
gl::color(0.0f, 1.0f, .0f, 1.0f);
@@ -88,7 +87,6 @@ void draw()
std::string cursor("_");
draw_text(CHARWIDTH*(input_pos+6), 4 + CHARHEIGHT * (MAXNOTIFYLINES+1) , cursor);
}
- gl::disable(GL_TEXTURE_2D);
}
void toggle()