1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

DirectX: Remove unused ScopedMultithread

This commit is contained in:
reuk 2025-04-17 12:41:06 +01:00 committed by Oli
parent 87abc7919b
commit 352f77083d
2 changed files with 0 additions and 24 deletions

View file

@ -37,17 +37,6 @@ namespace juce
constexpr auto enableDirectXDebugLayer = false;
ScopedMultithread::ScopedMultithread (ID2D1Multithread* multithreadIn)
: multithread (addComSmartPtrOwner (multithreadIn))
{
multithreadIn->Enter();
}
ScopedMultithread::~ScopedMultithread()
{
multithread->Leave();
}
//==============================================================================
ScopedGeometryWithSink::ScopedGeometryWithSink (ID2D1Factory* factory, D2D1_FILL_MODE fillMode)
{

View file

@ -35,19 +35,6 @@
namespace juce
{
class ScopedMultithread
{
public:
explicit ScopedMultithread (ID2D1Multithread* multithreadIn);
~ScopedMultithread();
private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ScopedMultithread)
ComSmartPtr<ID2D1Multithread> multithread;
};
/* ScopedGeometryWithSink creates an ID2D1PathGeometry object with an open sink. */
struct ScopedGeometryWithSink
{