move gluint hashtable stuff elsewhere

master
Daniel Kolesa 2020-07-30 03:19:13 +02:00
parent d68b813f44
commit 3a7970706a
2 changed files with 8 additions and 12 deletions

View File

@ -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;

View File

@ -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