--- deliantra/Deliantra-Client/texcache.c 2006/07/04 23:23:32 1.1 +++ deliantra/Deliantra-Client/texcache.c 2006/07/04 23:56:34 1.2 @@ -8,6 +8,8 @@ int x, y, w, h; } tc_area; +extern int tc_generation; + void tc_get (tc_area *area, int width, int height); void tc_put (tc_area *area); void tc_clear (); @@ -16,6 +18,8 @@ #include +int tc_generation; + typedef struct tc_texture { struct tc_texture *next; GLuint name; @@ -45,6 +49,8 @@ g_slice_free (tc_texture, first_texture); first_texture = next; } + + ++tc_generation; } void