From df7e9b1184a98f63095c7ba568ac5a14929f9648 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 19 Oct 2018 20:15:42 +1100 Subject: [PATCH] [host] remove unused critical sections --- host/Capture/DXGI.cpp | 2 -- host/Capture/DXGI.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/host/Capture/DXGI.cpp b/host/Capture/DXGI.cpp index 77f54595..1b729e32 100644 --- a/host/Capture/DXGI.cpp +++ b/host/Capture/DXGI.cpp @@ -31,8 +31,6 @@ DXGI::DXGI() : m_deviceContext(), m_dup() { - InitializeCriticalSection(&m_cursorCS ); - InitializeCriticalSection(&m_cursorDataCS); } DXGI::~DXGI() diff --git a/host/Capture/DXGI.h b/host/Capture/DXGI.h index ac0a2393..76765901 100644 --- a/host/Capture/DXGI.h +++ b/host/Capture/DXGI.h @@ -74,8 +74,6 @@ namespace Capture CursorInfo m_cursorRing[DXGI_CURSOR_RING_SIZE]; unsigned int m_cursorRPos, m_cursorWPos; - CRITICAL_SECTION m_cursorCS; - CRITICAL_SECTION m_cursorDataCS; ID3D11Texture2DPtr m_ftexture;