https://bugs.freedesktop.org/show_bug.cgi?id=36959
Summary: glxinfo -v doesn't show proper drawable type information. Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Demos AssignedTo: mesa-dev@lists.freedesktop.org ReportedBy: sagawa.aki+fdtb...@gmail.com Created an attachment (id=46446) --> (https://bugs.freedesktop.org/attachment.cgi?id=46446) proposed patch Under the following situation, visual_drawable_type function (defined in src/xdemos/glxinfo.c and called from glxinfo -v) returns wrong type text. 1. a visual calls visual_drawable_type(GLX_WINDOW_BIT); 2. then, another visual calls visual_drawable_type(GLX_PIXMAP_BIT); In the later case, it expects to return "pixmap". But actually it returns "window,pixmap,". The reason of this behavior is that the function advances a pointer without testing a flag, and it doesn't clear previous texts. I found this bug when I was testing Oracle VirtualBox's feature on Ubuntu 10.10. I made a patch, so attach it. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev