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:
parent
87abc7919b
commit
352f77083d
2 changed files with 0 additions and 24 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue