summaryrefslogtreecommitdiff
path: root/lib/font.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/font.cc')
-rw-r--r--lib/font.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/font.cc b/lib/font.cc
index 204e60d..9e77ae2 100644
--- a/lib/font.cc
+++ b/lib/font.cc
@@ -167,7 +167,7 @@ void mogltk::font::drawentry(Uint16 entry, int x, int y, ColorP c) {
int trueentry, cx, cy, px, py;
return;
-
+#if 0
was2D = mogltk::glbase::is2D();
if (!was2D)
@@ -201,6 +201,7 @@ void mogltk::font::drawentry(Uint16 entry, int x, int y, ColorP c) {
if (!was2D)
mogltk::glbase::Leave2DMode();
+#endif
}
void mogltk::font::putcursor(int x, int y) {
@@ -318,3 +319,7 @@ mogltk::font * mogltk::SystemFont;
mogltk::texture * mogltk::font::alloctexture() {
return new mogltk::texture(256, 256);
}
+
+void mogltk::font::Bind(int f) {
+ fonttex[f]->Bind();
+}