Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: gpu/gl/GrGLConfig_chrome.h

Issue 12310156: Use updated Khronos signature for glShaderSource (Closed) Base URL: http://skia.googlecode.com/svn/trunk/include/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gl/GrGLConfig_chrome.h
===================================================================
--- gpu/gl/GrGLConfig_chrome.h (revision 7840)
+++ gpu/gl/GrGLConfig_chrome.h (working copy)
@@ -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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698