コード例 #1
0
ファイル: tilesortspu_bcast.c プロジェクト: alown/chromium
/**
 * Need to delete local textures and textures on servers.
 * XXX \todo this function should probably go elsewhere.
 * \param n
 * \param textures
 */
void TILESORTSPU_APIENTRY
tilesortspu_DeleteTextures(GLsizei n, const GLuint *textures)
{
	GET_THREAD(thread);
	tilesortspuFlush(thread);
	crStateDeleteTextures(n, textures);
	if (tilesort_spu.swap)
		crPackDeleteTexturesSWAP(n, textures);
	else
		crPackDeleteTextures(n, textures);
	tilesortspuBroadcastGeom(0);
	tilesortspuShipBuffers();
}
コード例 #2
0
void PACKSPU_APIENTRY packspu_DeleteTextures(GLsizei n, const GLuint * textures)
{
    crStateDeleteTextures(n, textures);
    crPackDeleteTextures(n, textures);
}