diff options
author | 2011-01-18 16:54:04 +0000 | |
---|---|---|
committer | 2011-01-18 16:54:04 +0000 | |
commit | ed3a06804f2b43b383565694f08f992dd2b326be (patch) | |
tree | 57abb56448b03ee78cfd158b41e3602ec28e5d1f /gpu/include/GrUserConfig.h | |
parent | 1572b071a739ea64a0b829bbaafa0b54dfe4bfac (diff) |
Fix BGRA on ES Issue 109.
git-svn-id: http://skia.googlecode.com/svn/trunk@702 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/include/GrUserConfig.h')
-rw-r--r-- | gpu/include/GrUserConfig.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gpu/include/GrUserConfig.h b/gpu/include/GrUserConfig.h index 860d2ccd40..3bb3d75ba6 100644 --- a/gpu/include/GrUserConfig.h +++ b/gpu/include/GrUserConfig.h @@ -33,7 +33,9 @@ /* * The default 32bit pixel config for texture upload is GL_RGBA on all * platforms except on Windows where it is GL_BGRA. If your bitmaps map to a - * different GL enum, specify that with this define. + * different GL enum, specify that with this define. For portability use + * GR_BGRA rather than GL_BGRA for platforms where this format is an + * extension. */ //#define GR_GL_32BPP_COLOR_FORMAT GL_RGBA |