diff --git a/modules/juce_gui_basics/native/juce_Windowing_windows.cpp b/modules/juce_gui_basics/native/juce_Windowing_windows.cpp index 8021d97991..6e98b09203 100644 --- a/modules/juce_gui_basics/native/juce_Windowing_windows.cpp +++ b/modules/juce_gui_basics/native/juce_Windowing_windows.cpp @@ -4663,12 +4663,12 @@ Image createSnapshotOfNativeWindow (void* nativeWindowHandle) return {}; } -class GDIContext : public RenderContext +class GDIRenderContext : public RenderContext { public: static constexpr auto name = "Software Renderer"; - explicit GDIContext (HWNDComponentPeer& peerIn) + explicit GDIRenderContext (HWNDComponentPeer& peerIn) : peer (peerIn) { peer.setLayeredWindowStyle (false); @@ -4989,12 +4989,12 @@ private: bool resizing = false; }; -class D2DContext : public RenderContext +class D2DRenderContext : public RenderContext { public: static constexpr auto name = "Direct2D"; - explicit D2DContext (HWNDComponentPeer& peerIn) + explicit D2DRenderContext (HWNDComponentPeer& peerIn) : peer (peerIn), direct2DContext (std::make_unique (peer.getHWND(), peer.getComponent().isOpaque())) { @@ -5174,7 +5174,7 @@ inline constexpr ContextDescriptor contextDescriptorList[] }; // To add a new rendering backend, implement RenderContext for that backend, and then append the backend to this typelist -inline constexpr auto& contextDescriptors = contextDescriptorList; +inline constexpr auto& contextDescriptors = contextDescriptorList; void HWNDComponentPeer::setCurrentRenderingEngine (int e) {