[PATCH 0/1] MR9746: opengl32: Fix a copy error when printing the log.
Signed-off-by: chenjiangyi <chenjiangyi@uniontech.com> -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9746
From: chenjiangyi <chenjiangyi@uniontech.com> Signed-off-by: chenjiangyi <chenjiangyi@uniontech.com> --- dlls/opengl32/wgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c index ceac83c4c7f..e18c5ee0563 100644 --- a/dlls/opengl32/wgl.c +++ b/dlls/opengl32/wgl.c @@ -822,7 +822,7 @@ INT WINAPI wglDescribePixelFormat( HDC hdc, int index, UINT size, PIXELFORMATDES struct wgl_pixel_format *formats; UINT num_formats, num_onscreen_formats; - TRACE( "hdc %p, index %d, size %u, ppfd %p\n", hdc, index, index, ppfd ); + TRACE( "hdc %p, index %d, size %u, ppfd %p\n", hdc, index, size, ppfd ); if (!(formats = get_pixel_formats( hdc, &num_formats, &num_onscreen_formats ))) return 0; if (!ppfd) return num_onscreen_formats; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9746
This merge request was approved by Rémi Bernon. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9746
participants (3)
-
chenjiangyi -
JiangYi Chen (@meshine) -
Rémi Bernon (@rbernon)