stw: use new stw_get_nop_function() function to avoid Viewperf 12 crashes
authorBrian Paul <brianp@vmware.com>
Tue, 16 Jun 2015 21:32:46 +0000 (15:32 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 19 Jun 2015 14:45:00 +0000 (08:45 -0600)
commit73bdf4ba86751983dff011ac488ac60321d70a7f
tree20272b2075f96a356640e70a452519815db84bc5
parent8d005a643ed94c1871ec854bc069366cdda6581f
stw: use new stw_get_nop_function() function to avoid Viewperf 12 crashes

Also, print a warning if we do return NULL from wglGetProcAddress() to
help spot this sort of problem in the future.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/state_trackers/wgl/stw_getprocaddress.c