Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / content / renderer / media / android / stream_texture_factory_impl.cc
index 58d165b..da9a70f 100644 (file)
@@ -120,8 +120,8 @@ unsigned StreamTextureFactoryImpl::CreateStreamTexture(
   stream_id = gl->CreateStreamTextureCHROMIUM(*texture_id);
 
   gl->GenMailboxCHROMIUM(texture_mailbox->name);
-  gl->BindTexture(texture_target, *texture_id);
-  gl->ProduceTextureCHROMIUM(texture_target, texture_mailbox->name);
+  gl->ProduceTextureDirectCHROMIUM(
+      *texture_id, texture_target, texture_mailbox->name);
   return stream_id;
 }