https://git.reactos.org/?p=reactos.git;a=commitdiff;h=788efd34a8c591ba74bbb…
commit 788efd34a8c591ba74bbb6200863406e2f9e0619
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Oct 28 13:56:32 2017 +0100
[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 1215e10fcc..0f4c65a782 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;
}