st/wgl: Return NULL for NULL HDCs in wglGetExtensionsStringARB.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 23 Dec 2011 02:57:29 +0000 (02:57 +0000)
committerBrian Paul <brianp@vmware.com>
Wed, 11 Jan 2012 19:51:40 +0000 (12:51 -0700)
commit6811704830b6637d7c9b19914bd3549143eeb3e5
treecd27571aab7f907f4962a79c81ec65abc5089717
parent2d80cad16e55b6eb11084045015a08fff43a7485
st/wgl: Return NULL for NULL HDCs in wglGetExtensionsStringARB.

WGL_ARB_extensions_string states that wglGetExtensionsStringARB should
return NULL for invalid HDCs.  And some applications rely on it.

Reviewed-By: "Keith Whitwell" <keithw@vmware.com>
src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c