Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
=================================================================== |
--- gpu/command_buffer/service/gles2_cmd_decoder.cc (revision 98707) |
+++ gpu/command_buffer/service/gles2_cmd_decoder.cc (working copy) |
@@ -2527,10 +2527,12 @@ |
} |
// Workaround for NVIDIA driver bug on OS X; crbug.com/89557, |
- // crbug.com/94163. TODO(kbr): figure out reproduction so Apple will |
+ // crbug.com/94103. TODO(kbr): figure out reproduction so Apple will |
// fix this. |
- if (needs_mac_nvidia_driver_workaround_) |
+ if (needs_mac_nvidia_driver_workaround_) { |
offscreen_saved_frame_buffer_->Create(); |
+ glFinish(); |
+ } |
// Allocate the offscreen saved color texture. |
DCHECK(offscreen_saved_color_format_); |