From 788efd34a8c591ba74bbb6200863406e2f9e0619 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sat, 28 Oct 2017 13:56:32 +0100 Subject: [PATCH] [OPENGL32] Set the stdcall calling convention for wglGetDHGLRC(). CORE-11799 (#94) --- dll/opengl/opengl32/icdload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/opengl/opengl32/icdload.c b/dll/opengl/opengl32/icdload.c index 1215e10fcce..0f4c65a7820 100644 --- a/dll/opengl/opengl32/icdload.c +++ b/dll/opengl/opengl32/icdload.c @@ -43,7 +43,7 @@ static PVOID APIENTRY wglGetCurrentValue() return IntGetCurrentICDPrivate(); } -static DHGLRC wglGetDHGLRC(struct wgl_context* context) +static DHGLRC APIENTRY wglGetDHGLRC(struct wgl_context* context) { return context->dhglrc; }