Ejemplo n.º 1
0
void CzPlatformImaging::ChangeTexture(CzTexture texture, void* pixels, CzImage::eFormat format)
{
	CIwImage::Format f = toMarmImageFormat(format);
	if (f == CIwImage::FORMAT_UNDEFINED)
		return;

	CIwTexture* t = static_cast<CIwTexture*>(texture);
	t->ChangeTexels((uint8*)pixels, f);
}