public void Update() { _myBatch.Flush(); _tex.Display(); _cache = _tex.Texture; _changed = false; }
public void BlitSurface(HWSurfaceInstance surf, int x, int y) { if (surf == null) return; if (surf._changed) { surf.Update(); } _batch.Add(_atlastex, surf._source, _source, Color.White); _changed = true; }