mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
Fix compilation under MSVC(VS2019)
This commit is contained in:
@@ -76,7 +76,7 @@ public:
|
||||
// Texture streaming!
|
||||
virtual ResidencyType_t GetCurrentResidence() const { return RESIDENT_NONE; };
|
||||
virtual ResidencyType_t GetTargetResidence() const { return RESIDENT_NONE; };
|
||||
virtual bool MakeResident( ResidencyType_t newResidence ) {};
|
||||
virtual bool MakeResident( ResidencyType_t newResidence ) { return false; };
|
||||
virtual void UpdateLodBias() {};
|
||||
|
||||
// Various texture polling methods
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$macro SRCDIR ".."
|
||||
$Macro OUTBINDIR "$LIBPUBLIC"
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
|
||||
$include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$macro SRCDIR "..\.."
|
||||
$Macro OUTBINDIR "$LIBPUBLIC"
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
|
||||
$Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
|
||||
|
||||
|
||||
@@ -3499,7 +3499,7 @@ void CShaderAPIDx8::ResetRenderState( bool bFullReset )
|
||||
SetRenderState( D3DRS_CULLMODE, D3DCULL_CCW );
|
||||
|
||||
// No shade mode yet
|
||||
m_DynamicState.m_ShadeMode = NULL;
|
||||
m_DynamicState.m_ShadeMode = (D3DSHADEMODE)NULL;
|
||||
ShadeMode( SHADER_SMOOTH );
|
||||
|
||||
m_DynamicState.m_bHWMorphingEnabled = false;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$Macro SRCDIR "..\.."
|
||||
$Macro OUTBINDIR "$LIBPUBLIC"
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
$Macro OUTBINNAME "shaderapidx9"
|
||||
|
||||
$include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$macro SRCDIR "..\.."
|
||||
$Macro OUTBINDIR "$LIBPUBLIC"
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
|
||||
// shader_dll_verify.cpp defines a function called _ftol3. This means that we can't
|
||||
// link with the bug-fixed ftol3.obj. It also means we can't convert float-to-unsigned.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$Macro SRCDIR "..\.."
|
||||
$Macro OUTBINDIR "$LIBPUBLIC"
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
|
||||
// shader_dll_verify.cpp defines a function called _ftol3. This means that we can't
|
||||
// link with the bug-fixed ftol3.obj. It also means we can't convert float-to-unsigned.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$Macro SRCDIR "..\.."
|
||||
$Macro OUTBINDIR "$LIBPUBLIC"
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
|
||||
// shader_dll_verify.cpp defines a function called _ftol3. This means that we can't
|
||||
// link with the bug-fixed ftol3.obj. It also means we can't convert float-to-unsigned.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$Macro SRCDIR "..\.."
|
||||
$Macro OUTBINDIR "$LIBPUBLIC"
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
|
||||
// shader_dll_verify.cpp defines a function called _ftol3. This means that we can't
|
||||
// link with the bug-fixed ftol3.obj. It also means we can't convert float-to-unsigned.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$Macro SRCDIR "..\.."
|
||||
$Macro OUTBINDIR "$LIBPUBLIC"
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
|
||||
// shader_dll_verify.cpp defines a function called _ftol3. This means that we can't
|
||||
// link with the bug-fixed ftol3.obj. It also means we can't convert float-to-unsigned.
|
||||
|
||||
Reference in New Issue
Block a user