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

Unified Diff: ppapi/shared_impl/ppb_graphics_3d_shared.cc

Issue 1474873003: Add alpha argument to glResizeCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_graphics_3d_shared.cc
diff --git a/ppapi/shared_impl/ppb_graphics_3d_shared.cc b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
index 854bf51da04e3615bb50f3e460f163d702fdd3f6..3dadacb86c56abffb9cbaa2af6045efdbff45a18 100644
--- a/ppapi/shared_impl/ppb_graphics_3d_shared.cc
+++ b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
@@ -48,7 +48,7 @@ int32_t PPB_Graphics3D_Shared::ResizeBuffers(int32_t width, int32_t height) {
if ((width < 0) || (height < 0))
return PP_ERROR_BADARGUMENT;
- gles2_impl()->ResizeCHROMIUM(width, height, 1.f);
+ gles2_impl()->ResizeCHROMIUM(width, height, 1.f, true);
// TODO(alokp): Check if resize succeeded and return appropriate error code.
return PP_OK;
}
« no previous file with comments | « mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698