winex11.drv: When skipping unknown attribute also skip it's value.

Michael Stefaniuc mstefani at redhat.com
Sun Jun 30 17:33:12 CDT 2013


On 06/30/2013 11:29 PM, Ričardas Barkauskas wrote:
> ---
>  dlls/winex11.drv/opengl.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 
> 
> 0001-winex11.drv-When-skipping-unknown-attribute-also-skip-.txt
> 
> 
> diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
> index 0f937cb..c7f78c5 100644
> --- a/dlls/winex11.drv/opengl.c
> +++ b/dlls/winex11.drv/opengl.c
> @@ -921,7 +921,7 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr, int* oGLXAttr, struct wgl_
>        TRACE("pAttr[%d] = GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT: %x\n", cur, pop);
>        break ;
>      default:
> -      FIXME("unsupported %x WGL Attribute\n", iWGLAttr[cur]);
> +      FIXME("unsupported %x WGL Attribute\n", iWGLAttr[cur++]);
Side effects in the debug output functions should be avoided.


>        break;
>      }
>      ++cur;
> 

bye
	michael



More information about the wine-devel mailing list