Opengl32 test: don't call wglGetProcAddress at the start of the test

Roderick Colenbrander thunderbird2k at gmx.net
Mon Oct 13 14:59:00 CDT 2008


Hi,

It appears that win32 wglGetProcAddress implicitly depends on a WGL context in order to operate properly. For that reason we can't initialise the functions at startup using wglGetProcAddress as NULL is returned. On Wine this is no problem because we don't have a real ICD.

Roderick
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Move-loading-of-opengl-functions-away-from-the-start.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081013/fc7b65e8/attachment.patch 


More information about the wine-patches mailing list