diff options
Diffstat (limited to 'src/cairo-gl-private.h')
-rw-r--r-- | src/cairo-gl-private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-gl-private.h b/src/cairo-gl-private.h index 803b00ac..8512ab59 100644 --- a/src/cairo-gl-private.h +++ b/src/cairo-gl-private.h @@ -71,6 +71,7 @@ typedef struct _cairo_gl_surface { int width, height; GLuint tex; /* GL texture object containing our data. */ + cairo_bool_t owns_tex; /* TRUE if the surface created the texture */ GLuint fb; /* GL framebuffer object wrapping our data. */ } cairo_gl_surface_t; @@ -352,6 +353,6 @@ _cairo_gl_get_program (cairo_gl_context_t *ctx, cairo_gl_shader_program_t **out_program); slim_hidden_proto (cairo_gl_surface_create); -slim_hidden_proto (cairo_gl_surface_make_current); +slim_hidden_proto (cairo_gl_surface_create_for_texture); #endif /* CAIRO_GL_PRIVATE_H */ |