1
0
forked from 0ad/0ad

Fix non-PCH build more. Fixes #1313.

This was SVN commit r11494.
This commit is contained in:
Ykkrosh 2012-04-13 15:01:51 +00:00
parent 789036fb90
commit 9028c354e6
2 changed files with 4 additions and 1 deletions

View File

@ -26,6 +26,8 @@
#include "ps/XML/Xeromyces.h"
#include "renderer/Renderer.h"
#include <sstream>
CMaterial CMaterialManager::LoadMaterial(const VfsPath& pathname)
{
if (pathname.empty())
@ -57,7 +59,6 @@ CMaterial CMaterialManager::LoadMaterial(const VfsPath& pathname)
CMaterial material;
XMBElement root = xeroFile.GetRoot();
XMBElementList childNodes = root.GetChildNodes();
CPreprocessorWrapper preprocessor;
preprocessor.AddDefine("CFG_FORCE_ALPHATEST", g_Renderer.m_Options.m_ForceAlphaTest ? "1" : "0");

View File

@ -22,6 +22,8 @@
#include "maths/Vector4D.h"
#include "ps/ThreadUtil.h"
#include <sstream>
size_t hash_value(const CStrIntern& v)
{
return v.GetHash();