* Fixed Source Mod back-compatability by reordering methods in a couple interfaces.

* Added missing singleplayer OSX libs
* Updated vpc and libs.
This commit is contained in:
Joe Ludwig
2013-09-03 16:02:10 -07:00
parent a0c29e7dd6
commit 1524321396
68 changed files with 48 additions and 38 deletions
+6 -5
View File
@@ -286,12 +286,8 @@ void CreateDefaultCubemaps( bool bHDR )
// NOTE: This implementation depends on the fact that all VTF files contain
// all mipmap levels
const char *pSkyboxBaseName = FindSkyboxMaterialName();
char skyboxMaterialName[MAX_PATH];
Q_snprintf( skyboxMaterialName, MAX_PATH, "skybox/%s", pSkyboxBaseName );
IVTFTexture *pSrcVTFTextures[6];
if( !skyboxMaterialName )
if( !pSkyboxBaseName )
{
if( s_DefaultCubemapNames.Count() )
{
@@ -300,6 +296,11 @@ void CreateDefaultCubemaps( bool bHDR )
return;
}
char skyboxMaterialName[MAX_PATH];
Q_snprintf( skyboxMaterialName, MAX_PATH, "skybox/%s", pSkyboxBaseName );
IVTFTexture *pSrcVTFTextures[6];
int unionTextureFlags = 0;
if( !LoadSrcVTFFiles( pSrcVTFTextures, skyboxMaterialName, &unionTextureFlags, bHDR ) )
{