Browse Source

materialsystem: fix constructor call on misaligned address

android
nillerusr 4 years ago
parent
commit
e453bdd409
  1. 4
      materialsystem/cmaterialvar.cpp

4
materialsystem/cmaterialvar.cpp

@ -23,9 +23,9 @@
#define MATERIALVAR_CHAR_BUF_SIZE 512 #define MATERIALVAR_CHAR_BUF_SIZE 512
#if !defined( _X360 ) /*#if !defined( _X360 )
#pragma pack (1) #pragma pack (1)
#endif #endif*/
ConVar mat_texture_tracking( "mat_texture_tracking", IsDebug() ? "1" : "0" ); ConVar mat_texture_tracking( "mat_texture_tracking", IsDebug() ? "1" : "0" );
CUtlMap<ITexture*, CInterlockedInt> s_TextureRefList( DefLessFunc( ITexture* ) ); CUtlMap<ITexture*, CInterlockedInt> s_TextureRefList( DefLessFunc( ITexture* ) );

Loading…
Cancel
Save