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

Side by Side Diff: ppapi/lib/gl/gles2/gl2ext_ppapi.c

Issue 6711047: Fix up some types in the API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mo' fixes Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h>
5 #include "ppapi/lib/gl/gles2/gl2ext_ppapi.h" 6 #include "ppapi/lib/gl/gles2/gl2ext_ppapi.h"
piman 2011/03/24 03:41:36 This include should be first.
neb 2011/03/25 21:27:10 Done.
6 7
7 #ifndef GL_FALSE 8 #ifndef GL_FALSE
8 #define GL_FALSE 0 9 #define GL_FALSE 0
9 #endif // GL_FALSE 10 #endif // GL_FALSE
10 11
11 #ifndef GL_TRUE 12 #ifndef GL_TRUE
12 #define GL_TRUE 1 13 #define GL_TRUE 1
13 #endif // GL_TRUE 14 #endif // GL_TRUE
14 15
15 #if defined(__GNUC__) && !defined(__APPLE__) 16 #if defined(__GNUC__) && !defined(__APPLE__)
(...skipping 30 matching lines...) Expand all
46 } 47 }
47 48
48 PP_Resource GL_APIENTRY glGetCurrentContextPPAPI() { 49 PP_Resource GL_APIENTRY glGetCurrentContextPPAPI() {
49 return g_current_context; 50 return g_current_context;
50 } 51 }
51 52
52 const struct PPB_OpenGLES2_Dev* GL_APIENTRY glGetInterfacePPAPI() { 53 const struct PPB_OpenGLES2_Dev* GL_APIENTRY glGetInterfacePPAPI() {
53 return g_gles2_interface; 54 return g_gles2_interface;
54 } 55 }
55 56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698