Merge pull request #1142 from jackchentwkh/master

Only warning instead of shut down when possible non-FVF push buffer detected
This commit is contained in:
PatrickvL 2018-05-08 12:36:40 +02:00 committed by GitHub
commit 454742dc6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -306,10 +306,9 @@ extern void XTL::EmuExecutePushBufferRaw
if (VshHandleIsVertexShader(dwVertexShader))
{
CxbxKrnlCleanup("Non-FVF Vertex Shaders not yet supported for PushBuffer emulation!");
dwVertexShader = 0;
EmuWarning("Non-FVF Vertex Shaders not yet supported for PushBuffer emulation!");
}
else if(dwVertexShader == 0)
if(dwVertexShader == 0)
{
EmuWarning("FVF Vertex Shader is null");
dwVertexShader = -1;