diff --git a/xdk/xdk_d3d.cpp b/xdk/xdk_d3d.cpp index 06e86cf8bc..d24a58acdd 100644 --- a/xdk/xdk_d3d.cpp +++ b/xdk/xdk_d3d.cpp @@ -240,7 +240,7 @@ bool renderchain_init_shader_fvf(void *data, void *pass_) D3DDECL_END() }; - if (FAILED(d3dr->CreateVertexDeclaration(VertexElements, &pass->vertex_decl)) + if (FAILED(d3dr->CreateVertexDeclaration(VertexElements, &pass->vertex_decl))) return false; #endif