summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_utility.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-23 10:12:38 -0700
committerBrian <[email protected]>2007-02-23 10:12:38 -0700
commit5186ae9bbe8c630c2434c7488fbe5bffdfba46a7 (patch)
tree255dd6fde695796fe141faa3d86095ebf837a5f4 /src/mesa/shader/slang/slang_utility.c
parent308be21c2fe8e5d33bd63eca1d3e8250cd80199d (diff)
remove unused slang_atom_pool_gen()
Diffstat (limited to 'src/mesa/shader/slang/slang_utility.c')
-rw-r--r--src/mesa/shader/slang/slang_utility.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/shader/slang/slang_utility.c b/src/mesa/shader/slang/slang_utility.c
index 314ecc8d759..9b98a2c76c8 100644
--- a/src/mesa/shader/slang/slang_utility.c
+++ b/src/mesa/shader/slang/slang_utility.c
@@ -219,17 +219,3 @@ slang_atom_pool_id(slang_atom_pool * pool, slang_atom atom)
{
return (const char *) (atom);
}
-
-
-/**
- * Generate a new, unique atom with given prefix.
- */
-slang_atom
-slang_atom_pool_gen(slang_atom_pool * pool, const char *prefix)
-{
- char name[1000];
- static int nextFree = 100;
- sprintf(name, "%s%d", prefix, nextFree);
- nextFree++;
- return slang_atom_pool_atom(pool, name);
-}