mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 12:01:25 +00:00
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:
parent
d16c6646b7
commit
40ce444015
3 changed files with 30 additions and 26 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -835,6 +835,7 @@ qboolean AVEnc_Init(void)
|
|||
{
|
||||
// cmdfuncs->AddCommand(ENCODERNAME"_configure");
|
||||
cmdfuncs->AddCommand(ENCODERNAME"_nvidia");
|
||||
cmdfuncs->AddCommand(ENCODERNAME"_defaults");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue