Пример #1
0
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;
}
Пример #2
0
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 ();
}