From bcf9e476532f12544d1831300dbb2caa1e7c0bdf Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 3 May 2016 12:13:43 +0100 Subject: [PATCH] mesa_glinterop: replace GL types with their native counterpart. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Emil Velikov Reviewed-by: Marek Olšák Tested-by: Tom Stellard --- include/GL/mesa_glinterop.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/GL/mesa_glinterop.h b/include/GL/mesa_glinterop.h index 05435744cbc..7e57dda2d5a 100644 --- a/include/GL/mesa_glinterop.h +++ b/include/GL/mesa_glinterop.h @@ -50,6 +50,7 @@ #ifndef MESA_GLINTEROP_H #define MESA_GLINTEROP_H +#include #include #include @@ -202,8 +203,8 @@ typedef struct _mesa_glinterop_export_out { * Parameters specified by glTexBufferRange for GL_TEXTURE_BUFFER are * applied to these and can shrink the range further. */ - GLintptr buf_offset; - GLsizeiptr buf_size; + ptrdiff_t buf_offset; + ptrdiff_t buf_size; /* Parameters specified by glTextureView. If the object is not a texture * view, default parameters covering the whole texture will be returned. -- 2.30.2