public static void resetTexture(int texture) {
		if (Rasterizer.textureCache[texture] == null) {
			return;
		}
		Rasterizer.textureStore[Rasterizer.textureStoreCount++] = Rasterizer.textureCache[texture];
		Rasterizer.textureCache[texture] = null;
	}