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

Unified Diff: ppapi/examples/gamepad/gamepad.cc

Issue 10912062: Implement the gamepad API in the IPC proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « content/renderer/pepper/pepper_file_chooser_host.cc ('k') | ppapi/host/dispatch_host_message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/examples/gamepad/gamepad.cc
diff --git a/ppapi/examples/gamepad/gamepad.cc b/ppapi/examples/gamepad/gamepad.cc
index 96a127cc04d830166c0406ff2f55785ec6df99de..4fedc0be47ac131ec4e880e35c9597808d1ded47 100644
--- a/ppapi/examples/gamepad/gamepad.cc
+++ b/ppapi/examples/gamepad/gamepad.cc
@@ -85,7 +85,7 @@ class MyInstance : public pp::Instance {
}
pp::ImageData PaintImage(const pp::Size& size) {
- pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, false);
+ pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, true);
if (image.is_null())
return image;
« no previous file with comments | « content/renderer/pepper/pepper_file_chooser_host.cc ('k') | ppapi/host/dispatch_host_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698