view Renderer/test_render/hash_texture.h @ 283:55ea4465b1a2

fix test_render
author e065746@localhost.localdomain
date Fri, 05 Jun 2009 16:49:12 +0900
parents
children
line wrap: on
line source

const int N = 8192;

struct
hashtable{
    int tx_id;
    char* key;
};

class TextureHash {
    hashtable table[N];
public:
    hash(void);
    int hash_function(const char*);
    int hash_regist(const char*);
};