aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-04-08 09:31:29 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-08 13:39:29 +0000
commit9dab18f62cb7d4d9cc5b4e31ee5c15a4816973b1 (patch)
tree03f314592cb6caf205b9fa6253ec8bdc8162a548 /include
parent48d1b4c2b2c0f41a10376ed657cde043d8f11979 (diff)
Fix GrGLSync definition
By fixing this some ugly casts are avoided in setting up Chrome's GrGLInterface Change-Id: Ie540fc41b3cbb27f976d784cad90ae10c2cef9ed Reviewed-on: https://skia-review.googlesource.com/12621 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/gpu/gl/GrGLTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/gl/GrGLTypes.h b/include/gpu/gl/GrGLTypes.h
index 0a2346e73c..f2b339eccc 100644
--- a/include/gpu/gl/GrGLTypes.h
+++ b/include/gpu/gl/GrGLTypes.h
@@ -60,7 +60,7 @@ typedef signed long int GrGLintptr;
typedef signed long int GrGLsizeiptr;
#endif
typedef void* GrGLeglImage;
-typedef void* GrGLsync;
+typedef struct __GLsync* GrGLsync;
struct GrGLDrawArraysIndirectCommand {
GrGLuint fCount;