GLX/DRI2: pass GLX drawable ID to dri2InvalidateBuffers
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 2 Apr 2010 00:26:04 +0000 (17:26 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 2 Apr 2010 00:29:19 +0000 (17:29 -0700)
commit2b4d8616f581a36ed98a491ac1ec14be69d37511
tree24fbc560af07c84afc3a1b3444c94b7fc14b0dbd
parent115203281cf791221f586f03c14cfe4e0a44dd7a
GLX/DRI2: pass GLX drawable ID to dri2InvalidateBuffers

The IDs will be the same in the case where an X window is used directly
as a GLX drawable, but will fail if a new GLX drawable is created
explicitly, as with glxgears_fbconfig.

Fixes fdo bug #27190.
src/glx/dri2_glx.c