Index: remoting/client/display/gl_canvas.cc |
diff --git a/remoting/client/display/gl_canvas.cc b/remoting/client/display/gl_canvas.cc |
index c61a43c1dec17018118d3fd8ff9446eb5f2f61f6..58ec1af2fece0b08412023584057aa2afee154b2 100644 |
--- a/remoting/client/display/gl_canvas.cc |
+++ b/remoting/client/display/gl_canvas.cc |
@@ -119,7 +119,6 @@ void GlCanvas::SetTransformationMatrix(const std::array<float, 9>& matrix) { |
void GlCanvas::SetViewSize(int width, int height) { |
DCHECK(width > 0 && height > 0); |
- glViewport(0, 0, width, height); |
float view_size[2]{width, height}; |
glUniform2fv(view_size_location_, 1, view_size); |
view_size_set_ = true; |