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
This commit is contained in:
commit-bot@chromium.org 2013-02-28 17:11:11 +00:00
parent b8b705b1b9
commit e452a0ab43

View File

@ -37,4 +37,8 @@
// Non-VBO vertices and indices are not allowed in Chromium. // Non-VBO vertices and indices are not allowed in Chromium.
#define GR_GL_MUST_USE_VBO 1 #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 #endif