mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- disabling inlining in the GL loader produces an executable that's 8kb smaller.
This commit is contained in:
parent
78815a9601
commit
274a4216ea
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,8 @@ static void* SunGetProcAddress (const GLubyte* name)
|
|||
#if defined(_WIN32)
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// disable inlining here because it creates an incredible amount of bloat here.
|
||||
#pragma inline_depth(0)
|
||||
#pragma warning(disable: 4055)
|
||||
#pragma warning(disable: 4054)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue