From 675775b140e82e677eadbec20f923f5ace82ecf0 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Wed, 1 Sep 2021 07:01:31 -0700 Subject: [PATCH] wgl: Don't use BUILD_GL32 for wgl frontend The set of GL exports from OpenGL32.dll is controlled by a .def file, there's no need to also use __declspec(dllexport) for all of them. Reviewed By: Bill Kristiansen Reviewed-by: Charmaine Lee >charmainel@vmware.com> Part-of: --- src/gallium/frontends/wgl/meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/frontends/wgl/meson.build b/src/gallium/frontends/wgl/meson.build index c10acc401d2..f8e775774dc 100644 --- a/src/gallium/frontends/wgl/meson.build +++ b/src/gallium/frontends/wgl/meson.build @@ -47,7 +47,6 @@ libwgl = static_library( ), c_args : [ '-D_GDI32_', # prevent wgl* being declared __declspec(dllimport) - '-DBUILD_GL32', # declare gl* as __declspec(dllexport) in Mesa headers '-DWIN32_LEAN_AND_MEAN', # http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx _c_args_wgl ],