From e52da1e73d254704bcd55c996c869768cccdc657 Mon Sep 17 00:00:00 2001
From: BogDan Vatra <bogdan@kde.org>
Date: Mon, 29 Dec 2014 20:52:26 +0200
Subject: [PATCH 11/11] GLES doesn't have glDisable(GL_TEXTURE_2D)
---
source/lib/res/graphics/ogl_tex.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/source/lib/res/graphics/ogl_tex.cpp b/source/lib/res/graphics/ogl_tex.cpp
index f1a7d40..0087ee0 100644
a
|
b
|
Status ogl_tex_bind(Handle ht, size_t unit)
|
1073 | 1073 | // special case: disable texturing |
1074 | 1074 | if(ht == 0) |
1075 | 1075 | { |
| 1076 | #if !CONFIG2_GLES |
1076 | 1077 | glDisable(GL_TEXTURE_2D); |
| 1078 | #endif |
1077 | 1079 | return INFO::OK; |
1078 | 1080 | } |
1079 | 1081 | |