Hi,
I'm using the WGLWidget under windows 7 64 bits and when I call "wglGetCurrentDC" from the "resizeEvent" I got another value than from the "paintEvent" !
Also, I have checked and it is the same thread !
How is it possible ?
Here is some code :
Qt Code:
{ if (_isInitialized) return; glInit(); _win32HDC = wglGetCurrentDC(); } { _win32HDC = wglGetCurrentDC(); }To copy to clipboard, switch view to plain text mode
Bookmarks