aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/include/GrUserConfig.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-01-18 16:54:04 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-01-18 16:54:04 +0000
commited3a06804f2b43b383565694f08f992dd2b326be (patch)
tree57abb56448b03ee78cfd158b41e3602ec28e5d1f /gpu/include/GrUserConfig.h
parent1572b071a739ea64a0b829bbaafa0b54dfe4bfac (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.h4
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