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

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
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);
raymes 2012/09/05 21:05:57 What's this for?
brettw 2012/09/05 21:25:51 This was a bug in the example where it doesn't req
if (image.is_null())
return image;

Powered by Google App Engine
This is Rietveld 408576698