From 7016cc81c81b930b05ca45f61a2ac3b2226e84af Mon Sep 17 00:00:00 2001 From: ac-stef Date: Thu, 21 Jul 2016 14:04:16 +0200 Subject: [PATCH] fix display bug for texture previews thx Robtics --- source/src/editing.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/src/editing.cpp b/source/src/editing.cpp index 3aefdcf5..71ae5e58 100644 --- a/source/src/editing.cpp +++ b/source/src/editing.cpp @@ -718,6 +718,7 @@ void renderhudtexturepreview(int slot, int pos, bool highlight) border /= 2; box2d(x - border, y - border, x + bs + border, y + bs + border, 200); glEnable(GL_BLEND); + glEnable(GL_TEXTURE_2D); } }