Move STRONG_INLINE define into Global.h

This commit is contained in:
ArseniyShestakov
2015-11-22 07:14:52 +03:00
parent 5a87f58e09
commit fc06db4c4f
2 changed files with 12 additions and 9 deletions
-9
View File
@@ -18,15 +18,6 @@
#include "../../lib/GameConstants.h"
//A macro to force inlining some of our functions. Compiler (at least MSVC) is not so smart here-> without that displaying is MUCH slower
#ifdef _MSC_VER
#define STRONG_INLINE __forceinline
#elif __GNUC__
#define STRONG_INLINE inline __attribute__((always_inline))
#else
#define STRONG_INLINE inline
#endif
extern SDL_Window * mainWindow;
extern SDL_Renderer * mainRenderer;
extern SDL_Texture * screenTexture;