diff options
author | Benjamin Otte <otte@redhat.com> | 2010-07-09 12:49:10 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-07-09 12:49:10 +0200 |
commit | dbb386d3c0aa9e7534d333cf3dbcfc2aaeac05d3 (patch) | |
tree | 594c5c5b24171c8e3661e559504c0380508a3a81 | |
parent | f7fc8569a797356d5e93ad67aae4eca31e6835cd (diff) |
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.
-rw-r--r-- | src/cairo-gl-surface.c | 2 | ||||
-rw-r--r-- | src/cairo-gl.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/cairo-gl-surface.c b/src/cairo-gl-surface.c index a1488ab4..e2ad7e40 100644 --- a/src/cairo-gl-surface.c +++ b/src/cairo-gl-surface.c @@ -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) { diff --git a/src/cairo-gl.h b/src/cairo-gl.h index e61c1f8c..131d1148 100644 --- a/src/cairo-gl.h +++ b/src/cairo-gl.h @@ -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); |