fixes for stuff that (probably) I broke.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5084 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2017-03-27 23:10:29 +00:00
parent 5e7f55d0c8
commit 98beab3f53
2 changed files with 4 additions and 0 deletions

View File

@ -903,6 +903,7 @@ void QDECL R2D_Conback_Callback(struct cvar_s *var, char *oldvalue)
}
#if defined(_WIN32) && !defined(FTE_SDL) && !defined(WINRT) && !defined(_XBOX)
#include <windows.h>
qboolean R2D_Font_WasAdded(char *buffer, char *fontfilename)
{
char *match;

View File

@ -266,6 +266,9 @@ static void Mod_BlockTextureColour_f (void)
#ifdef RUNTIMELIGHTING
#if defined(MULTITHREAD)
#ifdef _WIN32
#include <windows.h>
#endif
static void *relightthread[8];
static unsigned int relightthreads;
static volatile qboolean wantrelight;