From f3a77d3c00c095a53f37aa7efb39d56168799596 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 6 Jan 2010 16:32:59 +0000 Subject: Port to core buildsystem. The python module (and associated make runes) need some love (as does non-GCC building with the core buildsystem in general) svn path=/trunk/rufl/; revision=9792 --- rufl_invalidate_cache.c | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 rufl_invalidate_cache.c (limited to 'rufl_invalidate_cache.c') diff --git a/rufl_invalidate_cache.c b/rufl_invalidate_cache.c deleted file mode 100644 index 65a3897..0000000 --- a/rufl_invalidate_cache.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * This file is part of RUfl - * Licensed under the MIT License, - * http://www.opensource.org/licenses/mit-license - * Copyright 2005 James Bursa - */ - -#include "oslib/font.h" -#include "rufl_internal.h" - - -/** - * Clear the internal font handle cache. - * - * Call this function on mode changes or output redirection changes. - */ - -void rufl_invalidate_cache(void) -{ - unsigned int i; - - for (i = 0; i != rufl_CACHE_SIZE; i++) { - if (rufl_cache[i].font != rufl_CACHE_NONE) { - xfont_lose_font(rufl_cache[i].f); - rufl_cache[i].font = rufl_CACHE_NONE; - } - } -} -- cgit v1.2.3