Hello again, I found the problem: I have to wait until the QGLWidget is initialized to prepare my textures. glGetError() seems to return always GL_INVALID_OPERATION if the OpenGL Context is not initialized already. Regards Paul