summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_delegated_renderer_layer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/fake_delegated_renderer_layer_impl.cc')
-rw-r--r--cc/test/fake_delegated_renderer_layer_impl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/fake_delegated_renderer_layer_impl.cc b/cc/test/fake_delegated_renderer_layer_impl.cc
index 1420ae2..14d8062 100644
--- a/cc/test/fake_delegated_renderer_layer_impl.cc
+++ b/cc/test/fake_delegated_renderer_layer_impl.cc
@@ -28,6 +28,7 @@ static ResourceProvider::ResourceId AddResourceToFrame(
ResourceProvider::ResourceId resource_id) {
TransferableResource resource;
resource.id = resource_id;
+ resource.target = GL_TEXTURE_2D;
frame->resource_list.push_back(resource);
return resource_id;
}