Shader type read for translation.

This commit is contained in:
Ben Vanik
2013-10-11 22:04:34 -07:00
parent 1378fad3c0
commit 04aad708c9
7 changed files with 113 additions and 7 deletions

View File

@@ -69,6 +69,11 @@ void D3D11GraphicsDriver::SetShader(
if (source) {
xe_free(source);
}
// Prepare for use.
if (shader->Prepare()) {
XELOGGPU("D3D11: failed to prepare shader");
}
}
void D3D11GraphicsDriver::DrawIndexed(