Re: [Mesa-dev] [PATCH 1/2] glinfo_common: fix extension_supported() function

2014-06-10 Thread Ian Romanick
On 06/09/2014 05:26 AM, Brian Paul wrote: > The code did not correctly handle super-string handling. For example, > if we were searching for "WGL_ARB_pixel_format" but we found > "WGL_ARB_pixel_format_float" we'd stop searching and return 0. Now > we search past that initial, incorrect match. Th

[Mesa-dev] [PATCH 1/2] glinfo_common: fix extension_supported() function

2014-06-09 Thread Brian Paul
The code did not correctly handle super-string handling. For example, if we were searching for "WGL_ARB_pixel_format" but we found "WGL_ARB_pixel_format_float" we'd stop searching and return 0. Now we search past that initial, incorrect match. --- src/xdemos/glinfo_common.c | 22 ++