Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(834)

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 2482673002: fix --show-composited-layer-borders on Mac (Closed)
Patch Set: small fix Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index a5946fab874cafdcba455ea0d5bcfa4bb081ef31..597e2732cfe8e4a28fa283fb25702bb21490d912 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -3372,6 +3372,7 @@ bool GLES2DecoderImpl::Initialize(
viewport_max_height_ = viewport_params[1];
glGetFloatv(GL_ALIASED_LINE_WIDTH_RANGE, line_width_range_);
+ state_.SetLineWidthBounds(line_width_range_[0], line_width_range_[1]);
state_.scissor_width = state_.viewport_width;
state_.scissor_height = state_.viewport_height;

Powered by Google App Engine
This is Rietveld 408576698