[OCC 5.2, WindowXp Sp2]
I found some one meet the same problem post messages in this forum.
The problem is that, if called TriedronDisplay of V3d_View the texture will render as black. Most people meet this when use AIS_TexturedShape.
I find that in the funtion WNTPuts in TKOpenGL\OpenGL_tXFm.c, the driver did not restore after calling glPixelTransferi ( GL_MAP_COLOR, GL_TRUE ). If you save the GL_COLOR_MAP and restored it later, that problem will be ok.
WNTPuts is for put a string in openGl window, which is be used when displaing the axis name.
I hope this fix can be incuded in the next release. Or anyone else tell me some better solution.
I have not try the new 5.2.1, maybe it is already there. :-)