D3DXCompileShader - D3D9 only

This commit is contained in:
twinaphex 2018-01-20 16:40:26 +01:00
parent fe72bc3ab6
commit 2cb8b50cef

View File

@ -1645,7 +1645,7 @@ bool d3dx_compile_shader(
void *pperrormsgs,
void *ppconstanttable)
{
#ifdef HAVE_D3DX
#if defined(HAVE_D3DX) && defined(HAVE_D3D9)
if (D3DCompileShader)
{
if (D3DCompileShader(
@ -1677,7 +1677,7 @@ bool d3dx_compile_shader_from_file(
void *pperrormsgs,
void *ppconstanttable)
{
#ifdef HAVE_D3DX
#if defined(HAVE_D3DX) && defined(HAVE_D3D9)
if (D3DCompileShaderFromFile)
{
if (D3DCompileShaderFromFile(