Browse Source

libobs-d3d11: Fix missing vertex buffer clear in NV12 check

Richard Stanway 6 years ago
parent
commit
80e9bb4ec7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libobs-d3d11/d3d11-subsystem.cpp

+ 1 - 0
libobs-d3d11/d3d11-subsystem.cpp

@@ -313,6 +313,7 @@ try {
 	context->Draw(4, 0);
 
 	device_load_pixelshader(this, nullptr);
+	device_load_vertexbuffer(this, nullptr);
 	device_load_vertexshader(this, nullptr);
 	device_set_render_target(this, nullptr, nullptr);