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>
#ifndef MESA_GLINTEROP_H
#define MESA_GLINTEROP_H
+#include <stddef.h>
#include <GL/glx.h>
#include <EGL/egl.h>
* 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.