aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/PlatformPixelBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/PlatformPixelBuffer.h')
-rw-r--r--vncviewer/PlatformPixelBuffer.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/vncviewer/PlatformPixelBuffer.h b/vncviewer/PlatformPixelBuffer.h
index 24763d46..2c8d3957 100644
--- a/vncviewer/PlatformPixelBuffer.h
+++ b/vncviewer/PlatformPixelBuffer.h
@@ -27,11 +27,11 @@
#endif
#include <list>
+#include <mutex>
-#include <os/Mutex.h>
+#include <core/Region.h>
#include <rfb/PixelBuffer.h>
-#include <rfb/Region.h>
#include "Surface.h"
@@ -40,16 +40,16 @@ public:
PlatformPixelBuffer(int width, int height);
~PlatformPixelBuffer();
- void commitBufferRW(const rfb::Rect& r) override;
+ void commitBufferRW(const core::Rect& r) override;
- rfb::Rect getDamage(void);
+ core::Rect getDamage(void);
using rfb::FullFramePixelBuffer::width;
using rfb::FullFramePixelBuffer::height;
protected:
- os::Mutex mutex;
- rfb::Region damage;
+ std::mutex mutex;
+ core::Region damage;
#if !defined(WIN32) && !defined(__APPLE__)
protected: