diff options
author | 2011-07-01 15:21:59 +0000 | |
---|---|---|
committer | 2011-07-01 15:21:59 +0000 | |
commit | 9ae4429f9d3ab837ff9352261271974715cabb8a (patch) | |
tree | 7806bad5226d837fac6fc19ea4064ebcd40e5225 /gpu/include/GrGLConfig_chrome.h | |
parent | ee435122d7dcb9cd4be4524004b0de282c42848b (diff) |
Don't send NULL buffer data hint in chrome
Review URL: http://codereview.appspot.com/4657067/
git-svn-id: http://skia.googlecode.com/svn/trunk@1778 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/include/GrGLConfig_chrome.h')
-rw-r--r-- | gpu/include/GrGLConfig_chrome.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gpu/include/GrGLConfig_chrome.h b/gpu/include/GrGLConfig_chrome.h index 738e80186b..9c25cb254a 100644 --- a/gpu/include/GrGLConfig_chrome.h +++ b/gpu/include/GrGLConfig_chrome.h @@ -10,4 +10,8 @@ // ANGLE creates a temp VB for vertex attributes not specified per-vertex. #define GR_GL_NO_CONSTANT_ATTRIBUTES GR_WIN32_BUILD +// cmd buffer allocates memory and memsets it to zero when it sees glBufferData +// with NULL. +#define GR_GL_USE_BUFFER_DATA_NULL_HINT 0 + #endif |