move gluint hashtable stuff elsewhere
parent
d68b813f44
commit
3a7970706a
|
@ -535,18 +535,6 @@ static inline bool htcmp(int x, int y)
|
||||||
return x==y;
|
return x==y;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef GL_HH
|
|
||||||
static inline uint hthash(GLuint key)
|
|
||||||
{
|
|
||||||
return key;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline bool htcmp(GLuint x, GLuint y)
|
|
||||||
{
|
|
||||||
return x==y;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
template <class T> struct vector
|
template <class T> struct vector
|
||||||
{
|
{
|
||||||
static const int MINSIZE = 8;
|
static const int MINSIZE = 8;
|
||||||
|
|
|
@ -14,4 +14,12 @@
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static inline uint hthash(GLuint key) {
|
||||||
|
return key;
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline bool htcmp(GLuint x, GLuint y) {
|
||||||
|
return x==y;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue