aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleTextAlpha.cpp
diff options
context:
space:
mode:
authorsenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-04 20:12:01 +0000
committersenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-04 20:12:01 +0000
commit99c2a8b362add1750ecba9f9c3f98abb01824c9b (patch)
treea6fd9ae11bcc39fe619e0fefea4b610a520c4e98 /samplecode/SampleTextAlpha.cpp
parentc1587e0f45ae662bdc933148114457ba7f6af084 (diff)
SampleApp builds skia on Linux with BGRA pixel order, but Ganesh's SampleApp
assumes GL_RGBA texture format on all platforms except Windows (where it uses GL_BGRA), so texture colours come out wrong. As a temporary fix, do on Linux what we do on Windows, and assume GL_BGRA. (This should be made more general later, and the assumption of matching formats between Skia and Ganesh removed.) Review URL: http://codereview.appspot.com/4474046/ git-svn-id: http://skia.googlecode.com/svn/trunk@1247 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleTextAlpha.cpp')
0 files changed, 0 insertions, 0 deletions