diff options
Diffstat (limited to 'cc/test/tiled_layer_test_common.cc')
-rw-r--r-- | cc/test/tiled_layer_test_common.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/test/tiled_layer_test_common.cc b/cc/test/tiled_layer_test_common.cc index ca86499..7d810d1 100644 --- a/cc/test/tiled_layer_test_common.cc +++ b/cc/test/tiled_layer_test_common.cc @@ -99,8 +99,10 @@ void FakeTiledLayer::SetTexturePriorities( // itself. bool missing_target_render_surface = !render_target(); - if (missing_target_render_surface) + if (missing_target_render_surface) { CreateRenderSurface(); + draw_properties().render_target = this; + } TiledLayer::SetTexturePriorities(calculator); |