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

Unified Diff: ppapi/proxy/ppb_context_3d_proxy.cc

Issue 7576012: Removed config management from Graphics3D API. It will be better handled in the EGL helper library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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: ppapi/proxy/ppb_context_3d_proxy.cc
===================================================================
--- ppapi/proxy/ppb_context_3d_proxy.cc (revision 95134)
+++ ppapi/proxy/ppb_context_3d_proxy.cc (working copy)
@@ -397,7 +397,7 @@
// TODO(alokp): Support separate draw-read surfaces.
DCHECK_EQ(pp_draw, pp_read);
if (pp_draw != pp_read)
- return PP_GRAPHICS3DERROR_BAD_MATCH;
+ return PP_ERROR_BADARGUMENT;
EnterResourceNoLock<PPB_Surface3D_API> enter_draw(pp_draw, false);
EnterResourceNoLock<PPB_Surface3D_API> enter_read(pp_read, false);

Powered by Google App Engine
This is Rietveld 408576698