aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-28 17:11:11 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-28 17:11:11 +0000
commite452a0ab4319c729d0014b8195157aee149d8ecf (patch)
treed8af54c13127dcebb1de68bb6d2aca07b71db6c4
parentb8b705b1b983a2ee3a254bed4dd03f926101e4e7 (diff)
Use updated Khronos signature for glShaderSource
(const char* const instead of char**). This is needed for new Khronos headers. BUG=178589 Review URL: https://chromiumcodereview.appspot.com/12310156 git-svn-id: http://skia.googlecode.com/svn/trunk@7900 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--include/gpu/gl/GrGLConfig_chrome.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gpu/gl/GrGLConfig_chrome.h b/include/gpu/gl/GrGLConfig_chrome.h
index 3a74abadb0..e2588238ed 100644
--- a/include/gpu/gl/GrGLConfig_chrome.h
+++ b/include/gpu/gl/GrGLConfig_chrome.h
@@ -37,4 +37,8 @@
// Non-VBO vertices and indices are not allowed in Chromium.
#define GR_GL_MUST_USE_VBO 1
+// Use updated Khronos signature for glShaderSource
+// (const char* const instead of char**).
+#define GR_USE_NEW_GL_SHADER_SOURCE_SIGNATURE 1
+
#endif