Skip to content
This repository was archived by the owner on Jul 21, 2020. It is now read-only.

Commit 9122263

Browse files
committed
Update d3d9-capture.cpp
1 parent 8c4656c commit 9122263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/win-capture/graphics-hook/d3d9-capture.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct d3d9_data {
5353
IDirect3DSurface9 *render_targets[NUM_BUFFERS];
5454
IDirect3DQuery9 *queries[NUM_BUFFERS];
5555
struct shmem_data *shmem_info;
56-
bool issued_queries[NUM_BUFFERS];
56+
volatile bool issued_queries[NUM_BUFFERS];
5757
bool texture_mapped[NUM_BUFFERS];
5858
uint32_t pitch;
5959
int cur_tex;

0 commit comments

Comments
 (0)