From ce3d1bd9a4ae2a519388c00c8c5bf076fbec81fa Mon Sep 17 00:00:00 2001 From: Bradley Austin Davis Date: Mon, 22 Jun 2015 16:19:31 -0700 Subject: [PATCH] Fix the 2D text overlay backgrounds to stop using a previously bound texture --- interface/src/ui/overlays/TextOverlay.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/interface/src/ui/overlays/TextOverlay.cpp b/interface/src/ui/overlays/TextOverlay.cpp index e709bbd9fc..1a8b74dea8 100644 --- a/interface/src/ui/overlays/TextOverlay.cpp +++ b/interface/src/ui/overlays/TextOverlay.cpp @@ -80,6 +80,7 @@ void TextOverlay::render(RenderArgs* args) { glm::vec2 topLeft(left, top); glm::vec2 bottomRight(right, bottom); + glBindTexture(GL_TEXTURE_2D, 0); DependencyManager::get()->renderQuad(topLeft, bottomRight, quadColor); const int leftAdjust = -1; // required to make text render relative to left edge of bounds