Hi,
pretty much every Horde3D application fails on OS X Lion at glEnable(GL_TEXTURE_2D) with GL_INVALID_OPERATION. The callee is RenderDevice::uploadTextureData()
Code:
glEnable( tex.type ); // Workaround for ATI driver bug
glGenerateMipmapEXT( tex.type );
glDisable( tex.type );
I think the problem is, that glEnable(GL_TEXTURE_2D) is not part of the OpenGL 3.2 Core Profile. Commenting glEnable and glDisable will make GL_INVALID_OPERATION go away, but the whole context looks still broken (screenshot).
Any ideas what could have went wrong? Note: Windows+Linux works
Cheers,
Christoph