texture_t *Texture_Create(const char *rgba, int w, int h) { texture_t *tex = (texture_t *)calloc(1, sizeof(texture_t)); Texture_Init(tex, rgba, w, h); return tex; }
void QE_Init (void) { /* ** initialize variables */ g_qeglobals.d_gridsize = 8; g_qeglobals.d_showgrid = true; /* ** other stuff */ // Texture_Init (true); Texture_Init(); //Cam_Init (); //XY_Init (); Z_Init (); }