diff options
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/capturer_linux.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/host/capturer_linux.cc b/remoting/host/capturer_linux.cc index 0035b74..3a1f22d 100644 --- a/remoting/host/capturer_linux.cc +++ b/remoting/host/capturer_linux.cc @@ -37,7 +37,9 @@ static bool ShouldUseXDamage() { // A class representing a full-frame pixel buffer class VideoFrameBuffer { public: - VideoFrameBuffer() : bytes_per_row_(0), needs_update_(true) {} + VideoFrameBuffer() : bytes_per_row_(0), needs_update_(true) { + size_.set(0, 0); + } void Update(Display* display, Window root_window) { if (needs_update_) { |