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

Unified Diff: third_party/gles_book_examples/Common/Source/esShader.c

Issue 527016: Added gyp file for examples. Removed unnecessary functions. Added header file... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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
Index: third_party/gles_book_examples/Common/Source/esShader.c
===================================================================
--- third_party/gles_book_examples/Common/Source/esShader.c (revision 35821)
+++ third_party/gles_book_examples/Common/Source/esShader.c (working copy)
@@ -40,7 +40,7 @@
/// \param shaderSrc Shader source string
/// \return A new shader object on success, 0 on failure
//
-GLuint ESUTIL_API esLoadShader ( GLenum type, const char *shaderSrc )
+GLuint esLoadShader ( GLenum type, const char *shaderSrc )
{
GLuint shader;
GLint compiled;
@@ -93,7 +93,7 @@
/// \param fragShaderSrc Fragment shader source code
/// \return A new program object linked with the vertex/fragment shader pair, 0 on failure
//
-GLuint ESUTIL_API esLoadProgram ( const char *vertShaderSrc, const char *fragShaderSrc )
+GLuint esLoadProgram ( const char *vertShaderSrc, const char *fragShaderSrc )
{
GLuint vertexShader;
GLuint fragmentShader;
@@ -152,4 +152,4 @@
glDeleteShader ( fragmentShader );
return programObject;
-}
+}

Powered by Google App Engine
This is Rietveld 408576698