| Index: ppapi/examples/compositor/compositor.cc
|
| diff --git a/ppapi/examples/compositor/compositor.cc b/ppapi/examples/compositor/compositor.cc
|
| index e7e3f1ffb0cc41bd8fdac576e881cb4a77e42d5a..d13e48a7c039bc914df919a22df81ff5fe644c51 100644
|
| --- a/ppapi/examples/compositor/compositor.cc
|
| +++ b/ppapi/examples/compositor/compositor.cc
|
| @@ -351,7 +351,9 @@ void DemoInstance::PrepareLayers(int32_t frame) {
|
| cube_->Draw();
|
| rv = stable_texture_layer_.SetTexture(
|
| *context_,
|
| - texture, pp::Size(600, 600),
|
| + GL_TEXTURE_2D,
|
| + texture,
|
| + pp::Size(600, 600),
|
| callback_factory_.NewCallback(&DemoInstance::OnTextureReleased,
|
| texture));
|
| assert(rv == PP_OK_COMPLETIONPENDING);
|
| @@ -397,7 +399,11 @@ void DemoInstance::PrepareLayers(int32_t frame) {
|
| GLuint texture = PrepareFramebuffer();
|
| cube_->UpdateForTimeDelta(0.02f);
|
| cube_->Draw();
|
| - rv = texture_layer_.SetTexture(*context_, texture, pp::Size(400, 400),
|
| + rv = texture_layer_.SetTexture(
|
| + *context_,
|
| + GL_TEXTURE_2D,
|
| + texture,
|
| + pp::Size(400, 400),
|
| callback_factory_.NewCallback(&DemoInstance::OnTextureReleased,
|
| texture));
|
| assert(rv == PP_OK_COMPLETIONPENDING);
|
|
|