st/wgl: check for NULL piAttribList in wglCreatePbufferARB()
authorCharmaine Lee <charmainel@vmware.com>
Fri, 6 Jul 2018 22:52:37 +0000 (15:52 -0700)
committerCharmaine Lee <charmainel@vmware.com>
Sat, 7 Jul 2018 00:32:49 +0000 (17:32 -0700)
commit097952abaa9347b98d0cd03dc323db904e6a9b25
tree2e9ae664d27bc200975f26a346e534eda3f6de11
parenta695de58450a933c735e4e5e22f8dcc6caaa76e1
st/wgl: check for NULL piAttribList in wglCreatePbufferARB()

Java2d opengl pipeline passes NULL piAttribList to
wglCreatePbufferARB(). So skip parsing the attribute list
if it is NULL.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/state_trackers/wgl/stw_ext_pbuffer.c