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

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

Issue 23072027: Merge 217400 "Change ppapi_simple to support pixel format select..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/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
Index: native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc
===================================================================
--- native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc (revision 218539)
+++ native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc (working copy)
@@ -75,7 +75,7 @@
PSEventSetFilter(PSE_ALL);
- PSContext2D_t* ctx = PSContext2DAllocate();
+ PSContext2D_t* ctx = PSContext2DAllocate(PP_IMAGEDATAFORMAT_BGRA_PREMUL);
bool running = true;
while (running) {
PSEvent* event;
« no previous file with comments | « native_client_sdk/src/examples/demo/life/life.c ('k') | native_client_sdk/src/examples/demo/voronoi/voronoi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698