From bdaee4e99fcbd21f17000a89ebc4284a9848a3e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 25 Sep 2007 13:53:36 +0000 Subject: [PATCH] mTarget is not set at this point yet, so this gives opengl error. Is it ok like this or does glTexEnv() require the texture to be bound? CCMAIL: rivolaks@hot.ee svn path=/trunk/KDE/kdebase/workspace/; revision=716886 --- scene_opengl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 2ff6de9fcb..be276b5f21 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -765,7 +765,6 @@ void SceneOpenGL::Texture::init() void SceneOpenGL::Texture::createTexture() { glGenTextures( 1, &mTexture ); - glBindTexture( mTarget, mTexture ); if( hasGLVersion( 1, 4, 0 )) { // Lod bias makes the trilinear-filtered texture look a bit sharper