summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chromium/gpu/command_buffer/common/gles2_cmd_format.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/gpu/command_buffer/common/gles2_cmd_format.h b/chromium/gpu/command_buffer/common/gles2_cmd_format.h
index e9483825e4f..20513f5138f 100644
--- a/chromium/gpu/command_buffer/common/gles2_cmd_format.h
+++ b/chromium/gpu/command_buffer/common/gles2_cmd_format.h
@@ -42,8 +42,14 @@ typedef float GLclampf;
typedef double GLdouble;
typedef double GLclampd;
typedef void GLvoid;
+
+#ifdef _WIN64
+typedef signed long long int GLintptr;
+typedef signed long long int GLsizeiptr;
+#else
typedef khronos_intptr_t GLintptr;
typedef khronos_ssize_t GLsizeiptr;
+#endif
typedef struct __GLsync *GLsync;
typedef int64_t GLint64;
typedef uint64_t GLuint64;