summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornfullagar@chromium.org <nfullagar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-20 23:22:51 +0000
committernfullagar@chromium.org <nfullagar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-20 23:22:51 +0000
commitd0bdd0bde65808d7f0289eecb477a4d1cb1fa04a (patch)
tree4bbdf47cd8f1ccc5b207f35fd514f44aee8325b6
parentc04edb286b1a35be895847fc1c73df266080e721 (diff)
downloadchromium_src-d0bdd0bde65808d7f0289eecb477a4d1cb1fa04a.zip
chromium_src-d0bdd0bde65808d7f0289eecb477a4d1cb1fa04a.tar.gz
chromium_src-d0bdd0bde65808d7f0289eecb477a4d1cb1fa04a.tar.bz2
Explicitly use BGRA instead of native format.
BUG=272346 TEST=run example, trybots R=noelallen@chromium.org Review URL: https://codereview.chromium.org/23600057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224517 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--native_client_sdk/src/examples/demo/life/life.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/native_client_sdk/src/examples/demo/life/life.c b/native_client_sdk/src/examples/demo/life/life.c
index 06b020d..17a3bfb 100644
--- a/native_client_sdk/src/examples/demo/life/life.c
+++ b/native_client_sdk/src/examples/demo/life/life.c
@@ -197,7 +197,7 @@ void Stir(uint32_t width, uint32_t height) {
void Render() {
struct PP_Size* psize = &g_Context.size;
- PP_ImageDataFormat format = g_pImageData->GetNativeImageDataFormat();
+ PP_ImageDataFormat format = PP_IMAGEDATAFORMAT_BGRA_PREMUL;
/*
* Create a buffer to draw into. Since we are waiting until the next flush