libobs-d3d11: Make sure current swap is valid

This commit is contained in:
jp9000
2015-07-30 17:16:24 -07:00
parent 378b46b7b7
commit cedd894fe7
2 changed files with 48 additions and 16 deletions

View File

@@ -625,7 +625,7 @@ struct gs_device {
gs_index_buffer *curIndexBuffer = nullptr;
gs_vertex_shader *curVertexShader = nullptr;
gs_pixel_shader *curPixelShader = nullptr;
gs_swap_chain *curSwapChain;
gs_swap_chain *curSwapChain = nullptr;
bool zstencilStateChanged = true;
bool rasterStateChanged = true;