mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 09:30:20 +01:00
don't compile debug code (bug 4242: rand undefined)
This commit is contained in:
parent
2efe639f26
commit
89ea47182d
1 changed files with 5 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
* Version: 6.3
|
||||
* Version: 6.4
|
||||
*
|
||||
* Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
|
||||
*
|
||||
|
|
@ -384,6 +384,8 @@ _mesa_HashFindFreeKeyBlock(struct _mesa_HashTable *table, GLuint numKeys)
|
|||
}
|
||||
|
||||
|
||||
#if 0 /* debug only */
|
||||
|
||||
/**
|
||||
* Test walking over all the entries in a hash table.
|
||||
*/
|
||||
|
|
@ -445,3 +447,5 @@ _mesa_test_hash_functions(void)
|
|||
|
||||
test_hash_walking();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue