diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2016-05-03 12:13:43 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-05-24 23:02:56 +0100 |
commit | bcf9e476532f12544d1831300dbb2caa1e7c0bdf (patch) | |
tree | d20ae92f10665db1237899a67a7d2fa0c1a1bdd1 /include | |
parent | 2e726144f9158b8acd4487d9a1beceaa1be85614 (diff) | |
download | external_mesa3d-bcf9e476532f12544d1831300dbb2caa1e7c0bdf.zip external_mesa3d-bcf9e476532f12544d1831300dbb2caa1e7c0bdf.tar.gz external_mesa3d-bcf9e476532f12544d1831300dbb2caa1e7c0bdf.tar.bz2 |
mesa_glinterop: replace GL types with their native counterpart.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/mesa_glinterop.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/GL/mesa_glinterop.h b/include/GL/mesa_glinterop.h index 0543574..7e57dda 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 <stddef.h> #include <GL/glx.h> #include <EGL/egl.h> @@ -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. |