示例#1
0
void SCR_BindMethods(int rendererType)
{
	if (rendererType == GL_11_RENDERER)
	{
		Log_Printf("[Renderer] Running in mode OpenGL ES 1.1\n");
		initFixedRenderer(&renderer);
	}
	
	if (rendererType == GL_20_RENDERER)
	{
		Log_Printf("[Renderer] Running in mode OpenGL ES 2.0\n"); 
		initProgrRenderer(&renderer);
	}
	
	strcpy(scrFont.path,STATS_FONT_PATH);
	TEX_MakeStaticAvailable(&scrFont);
}
示例#2
0
文件: menu.c 项目: shanfl/Shmup
void MENU_LoadRessources(void)
{
	TEX_MakeStaticAvailable(&textureAtlas);
 
}