arm64 : fix intptr_t size

This commit is contained in:
hymei
2022-06-05 01:12:32 +03:00
committed by nillerusr
parent 2690e6c85a
commit 4e4039d756
143 changed files with 1015 additions and 674 deletions
+2 -2
View File
@@ -64,7 +64,7 @@ CTextureSystem g_Textures;
//-----------------------------------------------------------------------------
// CMaterialFileChangeWatcher implementation.
//-----------------------------------------------------------------------------
void CMaterialFileChangeWatcher::Init( CTextureSystem *pSystem, int context )
void CMaterialFileChangeWatcher::Init( CTextureSystem *pSystem, intp context )
{
m_pTextureSystem = pSystem;
m_Context = context;
@@ -662,7 +662,7 @@ void CTextureSystem::UpdateFileChangeWatchers()
}
void CTextureSystem::OnFileChange( const char *pFilename, int context, CTextureSystem::EFileType eFileType )
void CTextureSystem::OnFileChange( const char *pFilename, intp context, CTextureSystem::EFileType eFileType )
{
// It requires the forward slashes later...
char fixedSlashes[MAX_PATH];
+2 -2
View File
@@ -106,7 +106,7 @@ struct TextureContext_t
class CMaterialFileChangeWatcher : private CFileChangeWatcher::ICallbacks
{
public:
void Init( CTextureSystem *pSystem, int context );
void Init( CTextureSystem *pSystem, intp context );
void Update(); // Call this periodically to update.
private:
@@ -214,7 +214,7 @@ protected:
k_eFileTypeVMT,
k_eFileTypeVTF
};
void OnFileChange( const char *pFilename, int context, EFileType eFileType );
void OnFileChange( const char *pFilename, intp context, EFileType eFileType );
void ReloadMaterialsUsingTexture( ITexture *pTestTexture );
static bool GetFileTypeFromFilename( const char *pFilename, CTextureSystem::EFileType *pFileType );