Texture Font Generator changes to make it compile in VS2008
This commit is contained in:
@@ -46,6 +46,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="..\libpng\include;..\zlib"
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
|
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
@@ -70,8 +71,10 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="libpng.lib;zdll.lib"
|
||||||
OutputFile="..\..\Program\$(ProjectName)-debug.exe"
|
OutputFile="..\..\Program\$(ProjectName)-debug.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
|
AdditionalLibraryDirectories="..\libpng\lib;..\zlib"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
RandomizedBaseAddress="1"
|
RandomizedBaseAddress="1"
|
||||||
@@ -132,6 +135,7 @@
|
|||||||
Optimization="2"
|
Optimization="2"
|
||||||
InlineFunctionExpansion="1"
|
InlineFunctionExpansion="1"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
|
AdditionalIncludeDirectories="..\libpng\include;..\zlib"
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
|
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
MinimalRebuild="false"
|
MinimalRebuild="false"
|
||||||
@@ -157,8 +161,10 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="libpng.lib zdll.lib"
|
||||||
OutputFile="..\..\Program\$(ProjectName).exe"
|
OutputFile="..\..\Program\$(ProjectName).exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
|
AdditionalLibraryDirectories="..\libpng\lib;..\zlib"
|
||||||
GenerateManifest="true"
|
GenerateManifest="true"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ bool SavePNG( FILE *f, char szErrorbuf[1024], const Surface *pSurf )
|
|||||||
|
|
||||||
if( setjmp(pPng->jmpbuf) )
|
if( setjmp(pPng->jmpbuf) )
|
||||||
{
|
{
|
||||||
png_destroy_read_struct( &pPng, &pInfo, png_infopp_NULL );
|
png_destroy_read_struct( &pPng, &pInfo, NULL );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user