-
-
Save tiagovignatti/764ee17331a981b83841 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/content/common/gpu/media/vaapi_picture_provider_drm.cc b/content/common/gpu/media/vaapi_picture_provider_drm.cc | |
index 5a8d0fa..4be8c57 100644 | |
--- a/content/common/gpu/media/vaapi_picture_provider_drm.cc | |
+++ b/content/common/gpu/media/vaapi_picture_provider_drm.cc | |
@@ -62,7 +62,7 @@ DrmPicture::~DrmPicture() { | |
gl_image_->Destroy(true); | |
- DCHECK_EQ(glGetError(), GL_NO_ERROR); | |
+ DCHECK_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment