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:
Benjamin Otte 2010-07-09 12:49:10 +02:00
parent f7fc8569a7
commit dbb386d3c0
2 changed files with 3 additions and 2 deletions

View file

@ -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)
{

View file

@ -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);