Example #1
0
/**
 * Need to delete local buffers and buffers on servers.
 * XXX \todo this function should probably go elsewhere.
 * \param n
 * \param buffers
 */
void TILESORTSPU_APIENTRY
tilesortspu_DeleteBuffersARB(GLsizei n, const GLuint *buffers)
{
	GET_THREAD(thread);
	tilesortspuFlush(thread);
	crStateDeleteBuffersARB(n, buffers);
	if (tilesort_spu.swap)
		crPackDeleteBuffersARBSWAP(n, buffers);
	else
		crPackDeleteBuffersARB(n, buffers);
	tilesortspuBroadcastGeom(0);
	tilesortspuShipBuffers();
}
void PACKSPU_APIENTRY packspu_DeleteBuffersARB( GLsizei n, const GLuint * buffer )
{
    crStateDeleteBuffersARB( n, buffer );
    crPackDeleteBuffersARB(n, buffer);
}