From bc0caac12d0bdc52bae20c22c54ad29e80d4622f Mon Sep 17 00:00:00 2001 From: David Reveman Date: Sun, 9 May 2004 20:54:51 +0000 Subject: Added library cleanup functions --- src/glitzint.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/glitzint.h') diff --git a/src/glitzint.h b/src/glitzint.h index 0502f0f..62f6f6c 100644 --- a/src/glitzint.h +++ b/src/glitzint.h @@ -185,10 +185,11 @@ typedef enum { (GLITZ_FRAGMENT_PROGRAM_TYPES * GLITZ_PROGRAMMATIC_SURFACE_NUM) typedef struct _glitz_programs_t { - unsigned long vertex_convolution[GLITZ_VERTEX_PROGRAM_TYPES]; - unsigned long fragment_simple[GLITZ_FRAGMENT_PROGRAM_TYPES]; - unsigned long fragment_convolution[GLITZ_FRAGMENT_PROGRAM_TYPES * 3]; - unsigned long fragment_programmatic[GLITZ_FRAGMENT_PROGRAMMATIC_PROGRAM_TYPES]; + glitz_gl_uint_t vertex_convolution[GLITZ_VERTEX_PROGRAM_TYPES]; + glitz_gl_uint_t fragment_simple[GLITZ_FRAGMENT_PROGRAM_TYPES]; + glitz_gl_uint_t fragment_convolution[GLITZ_FRAGMENT_PROGRAM_TYPES * 3]; + glitz_gl_uint_t + fragment_programmatic[GLITZ_FRAGMENT_PROGRAMMATIC_PROGRAM_TYPES]; } glitz_programs_t; typedef enum { @@ -597,6 +598,10 @@ extern void __internal_linkage glitz_program_disable (glitz_program_type_t type, glitz_surface_t *dst); +extern void __internal_linkage +glitz_programs_fini (glitz_gl_proc_address_list_t *gl, + glitz_programs_t *programs); + extern void __internal_linkage glitz_programmatic_surface_setup (glitz_surface_t *abstract_surface, int width, -- cgit v1.2.3