From 342f73f286fb10e140b4b32398cbfc468ee36f6c Mon Sep 17 00:00:00 2001 From: Lionel Ulmer Date: Wed, 20 Aug 2003 11:00:39 +0000 Subject: [PATCH] Disable TEXTURE_2D after background drawing to be in-line to what engine.cpp does. --- bitmap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bitmap.cpp b/bitmap.cpp index 53bcc5f7bb7..38373819ebf 100644 --- a/bitmap.cpp +++ b/bitmap.cpp @@ -142,6 +142,7 @@ void Bitmap::draw() const { } } glDisable(GL_SCISSOR_TEST); + glDisable(GL_TEXTURE_2D); } else if (format_ == 5) { glRasterPos2i(x_, y_); printf("format2\n");