glGetFloatv(GL_TEXTURE_MATRIX, matrix) not working

Can’t figure out why this is happening, but glGetFloatv(GL_TEXTURE_MATRIX, matrix) is not filling in the matrix array. The values remain at whatever they were initialized to. I’ve installed the latest Nvidia driver 266.58 and the issue persists. Calling glGetDoublev doesn’t work either. Anybody having this problem?

Strange.

Did you tried your code with older drivers ? on other machines ? With a simple little program ?

That’s really odd. I just did a simple test case and it worked fine.

Might be a silly question, but you do have the same glActiveTexture when you’re getting the matrix as you had when you set up the original transform? It’s the only thing (outside of a driver bug) I can think of.