Skip to content

Commit

Permalink
Test #2 for shader creation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ccw808 committed Mar 23, 2018
1 parent 4fe73fd commit 78b9b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/core/Graphics/CRenderItem.EffectTemplate.cpp
Expand Up @@ -259,7 +259,7 @@ void CEffectTemplateImpl::CreateUnderlyingData(const SString& strFilename, const
macroList.back().Definition = NULL;

// Compile effect
DWORD dwFlags = 0; // D3DXSHADER_PARTIALPRECISION, D3DXSHADER_DEBUG, D3DXFX_NOT_CLONEABLE;
DWORD dwFlags = D3DXFX_LARGEADDRESSAWARE; // D3DXSHADER_PARTIALPRECISION, D3DXSHADER_DEBUG, D3DXFX_NOT_CLONEABLE;
if (bDebug)
dwFlags |= D3DXSHADER_DEBUG;

Expand Down

0 comments on commit 78b9b47

Please sign in to comment.