mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 05:41:52 +00:00
Fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5432 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f38a6264b8
commit
b6fc034302
3 changed files with 6 additions and 2 deletions
|
@ -370,6 +370,7 @@ void COM_AssertMainThread(const char *msg);
|
|||
#else
|
||||
#define com_workererror false
|
||||
#define COM_AddWork(t,f,a,b,c,d) (f)((a),(b),(c),(d))
|
||||
#define COM_InsertWork(t,f,a,b,c,d) (f)((a),(b),(c),(d))
|
||||
#define COM_WorkerPartialSync(c,a,v)
|
||||
#define COM_WorkerFullSync()
|
||||
#define COM_HasWork() false
|
||||
|
|
|
@ -2901,13 +2901,14 @@ static void Shaderpass_ClampMap (parsestate_t *ps, char **ptr)
|
|||
|
||||
static void Shaderpass_VideoMap (parsestate_t *ps, char **ptr)
|
||||
{
|
||||
shader_t *shader = ps->s;
|
||||
shaderpass_t *pass = ps->pass;
|
||||
char *token = Shader_ParseSensString (ptr);
|
||||
|
||||
#ifndef HAVE_MEDIA_DECODER
|
||||
(void)token;
|
||||
#else
|
||||
shader_t *shader = ps->s;
|
||||
shaderpass_t *pass = ps->pass;
|
||||
|
||||
if (pass->cin)
|
||||
Z_Free (pass->cin);
|
||||
|
||||
|
|
|
@ -3588,7 +3588,9 @@ void SV_BeginDownload_f(void)
|
|||
}
|
||||
if (ISNQCLIENT(host_client))
|
||||
host_client->send_message = true;
|
||||
#ifndef NOLEGACY
|
||||
SV_DownloadQueueNext(host_client);
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue