Fix some compile issues.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5595 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-12-17 19:21:29 +00:00
parent d16c6646b7
commit 40ce444015
3 changed files with 30 additions and 26 deletions

View file

@ -66,6 +66,7 @@ We also have no doppler with WebAudio.
#define palSourcefv alSourcefv
#define palGetString alGetString
#define palGenSources alGenSources
#define palIsSource alIsSource
#define palListenerf alListenerf
#define palDeleteBuffers alDeleteBuffers
#define palDeleteSources alDeleteSources

View file

@ -266,7 +266,9 @@ void QDECL Q_strncpyz(char *d, const char *s, int n)
void VARGS Q_vsnprintfz (char *dest, size_t size, const char *fmt, va_list argptr)
{
#ifdef _WIN32
#undef _vsnprintf
_vsnprintf (dest, size, fmt, argptr);
#define _vsnprintf unsafe_vsnprintf
#else
#ifdef _DEBUG
if ((size_t)vsnprintf (dest, size, fmt, argptr) > size-1)

View file

@ -835,6 +835,7 @@ qboolean AVEnc_Init(void)
{
// cmdfuncs->AddCommand(ENCODERNAME"_configure");
cmdfuncs->AddCommand(ENCODERNAME"_nvidia");
cmdfuncs->AddCommand(ENCODERNAME"_defaults");
}
return true;