From 9892a47037ea076928fd4fe927b9602cbbe5d2cc Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Fri, 28 Feb 2014 21:24:32 +0000 Subject: [PATCH] [OPENGL32] * Mark as hotpatchable. CORE-7959 svn path=/trunk/; revision=62360 --- reactos/dll/opengl/opengl32/CMakeLists.txt | 2 +- reactos/dll/opengl/opengl32/wgl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/opengl/opengl32/CMakeLists.txt b/reactos/dll/opengl/opengl32/CMakeLists.txt index 17d7da19de3..9a14f68ee0e 100644 --- a/reactos/dll/opengl/opengl32/CMakeLists.txt +++ b/reactos/dll/opengl/opengl32/CMakeLists.txt @@ -53,7 +53,7 @@ if((ARCH STREQUAL "i386") AND (NOT MSVC)) target_link_libraries(opengl32 mesa_x86) endif() -set_module_type(opengl32 win32dll) +set_module_type(opengl32 win32dll HOTPATCHABLE) add_importlibs(opengl32 gdi32 user32 advapi32 msvcrt kernel32 ntdll) add_pch(opengl32 opengl32.h SOURCE) diff --git a/reactos/dll/opengl/opengl32/wgl.c b/reactos/dll/opengl/opengl32/wgl.c index 32503e7344b..8da98b9d350 100644 --- a/reactos/dll/opengl/opengl32/wgl.c +++ b/reactos/dll/opengl/opengl32/wgl.c @@ -871,7 +871,7 @@ BOOL WINAPI wglShareLists(HGLRC hglrcSrc, HGLRC hglrcDst) return sw_ShareLists(ctx_src->dhglrc, ctx_dst->dhglrc); } -BOOL WINAPI wglSwapBuffers(HDC hdc) +BOOL WINAPI DECLSPEC_HOTPATCH wglSwapBuffers(HDC hdc) { struct wgl_dc_data* dc_data = get_dc_data(hdc); -- 2.17.1