ソースを参照

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

Richard Stanway 6 年 前
コミット
80e9bb4ec7
1 ファイル変更1 行追加0 行削除
  1. 1 0
      libobs-d3d11/d3d11-subsystem.cpp

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

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