[Mesa-dev] [PATCH] glxgears_pixmap: destroy correct pixmap id
Nathan Kidd
nathan-ml at spicycrypto.ca
Mon Aug 11 16:10:49 PDT 2014
On 11/08/14 06:56 PM, Brian Paul wrote:
> On 08/11/2014 04:51 PM, Nathan Kidd wrote:
>> Previously we'd get a GLXBadPixmap error.
>>
>> Signed-off-by: Nathan Kidd <nkidd at opentext.com>
>> ---
>> src/xdemos/glxgears_pixmap.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/xdemos/glxgears_pixmap.c b/src/xdemos/glxgears_pixmap.c
>> index f2bb013..afd5828 100644
>> --- a/src/xdemos/glxgears_pixmap.c
>> +++ b/src/xdemos/glxgears_pixmap.c
>> @@ -540,7 +540,7 @@ main(int argc, char *argv[])
>>
>> glXDestroyContext(dpy, gears.ctx);
>> XDestroyWindow(dpy, gears.win);
>> - glXDestroyPixmap(dpy, gears.pixmap);
>> + glXDestroyPixmap(dpy, gears.glxpixmap);
>> XFreePixmap(dpy, gears.pixmap);
>> XCloseDisplay(dpy);
>>
>
> Reviewed-by: Brian Paul <brianp at vmware.com>
Thanks.
> Do you need me to commit this for you?
Please. I don't have push access.
-Nathan
More information about the mesa-dev
mailing list