aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src/GrGLUtil.cpp
diff options
context:
space:
mode:
authorGravatar twiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-18 17:38:11 +0000
committerGravatar twiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-18 17:38:11 +0000
commit0f31ca79bde088e6caac219734c35c1ae3e9e8b9 (patch)
tree00759d4aa6f3d706a2fe69e0142e5907ce3e2df1 /gpu/src/GrGLUtil.cpp
parent098611bd74367d9790b057f005675bdae53321e7 (diff)
This CL removes all dependencies on GL headers across all of Ganesh. New
GrGLint, etc. types are introduced, and new GR_GL_XXXX constants for use at all GL call-sites. Review: http://codereview.appspot.com/4272061/ git-svn-id: http://skia.googlecode.com/svn/trunk@959 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrGLUtil.cpp')
-rw-r--r--gpu/src/GrGLUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/src/GrGLUtil.cpp b/gpu/src/GrGLUtil.cpp
index 2cb887a363..8b68845df2 100644
--- a/gpu/src/GrGLUtil.cpp
+++ b/gpu/src/GrGLUtil.cpp
@@ -18,7 +18,7 @@
void GrGLCheckErr(const char* location, const char* call) {
uint32_t err = GrGLGetGLInterface()->fGetError();
- if (GL_NO_ERROR != err) {
+ if (GR_GL_NO_ERROR != err) {
GrPrintf("---- glGetError %x", err);
if (NULL != location) {
GrPrintf(" at\n\t%s", location);