mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 23:00:11 +01:00
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 <billkris@microsoft.com> Reviewed-by: Charmaine Lee >charmainel@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12677>
This commit is contained in:
parent
2a76c976d1
commit
675775b140
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue