Fixed the "alloc" errors in D3D.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2688 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
43c48f23e6
commit
4046adbe48
2 changed files with 12 additions and 0 deletions
|
@ -4,6 +4,12 @@
|
||||||
|
|
||||||
#include "com_mesh.h"
|
#include "com_mesh.h"
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include <malloc.h>
|
||||||
|
#else
|
||||||
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
extern cvar_t r_fullbrightSkins;
|
extern cvar_t r_fullbrightSkins;
|
||||||
extern cvar_t r_vertexdlights;
|
extern cvar_t r_vertexdlights;
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,12 @@
|
||||||
|
|
||||||
#include "com_mesh.h"
|
#include "com_mesh.h"
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include <malloc.h>
|
||||||
|
#else
|
||||||
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
extern cvar_t r_fullbrightSkins;
|
extern cvar_t r_fullbrightSkins;
|
||||||
extern cvar_t r_vertexdlights;
|
extern cvar_t r_vertexdlights;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue