- disabling inlining in the GL loader produces an executable that's 8kb smaller.

This commit is contained in:
Christoph Oelckers 2014-08-21 11:47:53 +02:00
parent 78815a9601
commit 274a4216ea

View file

@ -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