glx: Make __glXGetDrawableAttribute return true sometimes

Graphics / Mesa 3D Graphics Library / Mesa - Adam Jackson [redhat.com] - 22 August 2019 17:29 EDT

Right now it always returns zero, but as of:

commit a48a6b8a400e6e92961cf7b7b4c287e8e9875f39 Author: Adam Jackson Date: Tue Nov 14 15:13:05 2017 -0500

glx: Prepare driFetchDrawable for no-config contexts

We were hoping it would return true if the drawable could actually be looked up. It wasn't, so that didn't go very well. With the most recent update to glXQueryGLXPbufferSGIX (correctly) returns void, so there's no longer anything else besides driFetchDrawable that depends on the return value from __glXGetDrawableAttribute.

a7a9d958bc3 glx: Make __glXGetDrawableAttribute return true sometimes
src/glx/glx_pbuffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share