From: Emil Velikov Date: Tue, 3 May 2016 11:13:43 +0000 (+0100) Subject: mesa_glinterop: replace GL types with their native counterpart. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bcf9e476532f12544d1831300dbb2caa1e7c0bdf;p=mesa.git mesa_glinterop: replace GL types with their native counterpart. Signed-off-by: Emil Velikov Reviewed-by: Marek Olšák Tested-by: Tom Stellard --- 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.