mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-10 14:00:22 +01:00
gl: Use unsigned int instead of GLuint
GLuint is not defined in cairo-gl.h. If unsigned int is not compatible enough to GLuint, we might consider to use #include <GL/gl.h> instead.
This commit is contained in:
parent
f7fc8569a7
commit
dbb386d3c0
2 changed files with 3 additions and 2 deletions
|
|
@ -408,7 +408,7 @@ slim_hidden_def (cairo_gl_surface_create);
|
|||
cairo_surface_t *
|
||||
cairo_gl_surface_create_for_texture (cairo_device_t *abstract_device,
|
||||
cairo_content_t content,
|
||||
GLuint tex,
|
||||
unsigned int tex,
|
||||
int width,
|
||||
int height)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -48,7 +48,8 @@ cairo_gl_surface_create (cairo_device_t *device,
|
|||
cairo_public cairo_surface_t *
|
||||
cairo_gl_surface_create_for_texture (cairo_device_t *abstract_device,
|
||||
cairo_content_t content,
|
||||
GLuint tex, int width, int height);
|
||||
unsigned int tex,
|
||||
int width, int height);
|
||||
cairo_public void
|
||||
cairo_gl_surface_set_size (cairo_surface_t *surface, int width, int height);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue