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

Unified Diff: native_client_sdk/src/examples/demo/flock/flock.cc

Issue 22824010: Change ppapi_simple to support pixel format selection. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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
« no previous file with comments | « native_client_sdk/src/examples/demo/earth/earth.cc ('k') | native_client_sdk/src/examples/demo/life/life.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/examples/demo/flock/flock.cc
===================================================================
--- native_client_sdk/src/examples/demo/flock/flock.cc (revision 217039)
+++ native_client_sdk/src/examples/demo/flock/flock.cc (working copy)
@@ -116,7 +116,7 @@
g_goose_sprite = new Sprite(buffer, pp::Size(fmt.width, fmt.height), 0);
- PSContext2D_t* ctx = PSContext2DAllocate();
+ PSContext2D_t* ctx = PSContext2DAllocate(PP_IMAGEDATAFORMAT_BGRA_PREMUL);
ResetFlock(ctx, 50);
while (1) {
PSEvent* event;
« no previous file with comments | « native_client_sdk/src/examples/demo/earth/earth.cc ('k') | native_client_sdk/src/examples/demo/life/life.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698