mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sokol: remove .lib extensions in #pragma directives (#8639)
fixes tcc on windows - this kind of fix has been done several times in the past, and should probably be upstreamed to sokol soon to prevent things from breaking every time we update the headers.
This commit is contained in:
10
thirdparty/sokol/sokol_gfx.h
vendored
10
thirdparty/sokol/sokol_gfx.h
vendored
@@ -2538,12 +2538,12 @@ inline void sg_init_pass(sg_pass pass_id, const sg_pass_desc& desc) { return sg_
|
||||
#include <d3dcompiler.h>
|
||||
#ifdef _MSC_VER
|
||||
#if (defined(WINAPI_FAMILY_PARTITION) && !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP))
|
||||
#pragma comment (lib, "WindowsApp.lib")
|
||||
#pragma comment (lib, "WindowsApp")
|
||||
#else
|
||||
#pragma comment (lib, "user32.lib")
|
||||
#pragma comment (lib, "dxgi.lib")
|
||||
#pragma comment (lib, "d3d11.lib")
|
||||
#pragma comment (lib, "dxguid.lib")
|
||||
#pragma comment (lib, "user32")
|
||||
#pragma comment (lib, "dxgi")
|
||||
#pragma comment (lib, "d3d11")
|
||||
#pragma comment (lib, "dxguid")
|
||||
#endif
|
||||
#endif
|
||||
#elif defined(SOKOL_METAL)
|
||||
|
||||
Reference in New Issue
Block a user