I’m using OpenGL through QT on windows Vista. GDI isn’t used.
However the screen (windowed mode) seems to ignore all GL calls once a drawing is loaded. That is, my background is grey and the cursor which is rendering with GL lines is not visible.
Alt-Tab’ing applications fix this however, everything becomes visible.
I read through few docs about OpenGL on Vista and tried out things. Someone has experience in that or any general hits about Vista/OpenGL?
btw. Does Vista handle 2 monitors as 2 separate back/front buffers?
To the monitor problem:
I have 2 monitors connected and reading pixels from first screen via glCopySubPixels2d() returns pixels that are actually in the backbuffer whereas moving the window to another screen gives me trash data instead. I am using pan view to drag windows from one screen to another. All works fine under XP though. Cant figure out if it’s the code or the model of Vista or … ?
It’s a Quadro FX 1400. All recent drivers installed. Guess its something with Windows Vista. I actually never did something on Vista before up untill now. So really in the dark here.
Wondering if something might do with glReadBuffer() values other the GL_BACK or GL_FRONT here.