[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: winex11.drv: When skipping unknown attribute also skip it's value.
From: Michael Stefaniuc <mstefani () redhat ! com>
Date: 2013-06-30 22:33:12
Message-ID: 51D0B228.90502 () redhat ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic