Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1159)

Unified Diff: media/gpu/vaapi_tfp_picture.cc

Issue 2388653002: gpu: Add CHROMIUM_texture_from_image spec and fence support.
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/gpu/vaapi_tfp_picture.cc
diff --git a/media/gpu/vaapi_tfp_picture.cc b/media/gpu/vaapi_tfp_picture.cc
index b099c5eb71b8d98057e34ec97a3bbe7e4aac4a65..db01588813e7d952ffb145a2b78d97742cf12e41 100644
--- a/media/gpu/vaapi_tfp_picture.cc
+++ b/media/gpu/vaapi_tfp_picture.cc
@@ -59,7 +59,7 @@ bool VaapiTFPPicture::Initialize() {
}
gl::ScopedTextureBinder texture_binder(GL_TEXTURE_2D, texture_id_);
- if (!glx_image_->BindTexImage(GL_TEXTURE_2D)) {
+ if (!glx_image_->BindTexImage(GL_TEXTURE_2D, nullptr)) {
LOG(ERROR) << "Failed to bind texture to glx image";
return false;
}

Powered by Google App Engine
This is Rietveld 408576698