Rename SetTextures to BindTextures

This commit is contained in:
Henrik Rydgård committed 2016-12-25 11:31:33 +01:00
1 parent 1c0c755b03
commit 97d029972e
13 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ void AsyncImageFileView::Draw(UIContext &dc) {
// TODO: involve sizemode
if (texture_) {
dc.Flush();
dc.GetThin3DContext()->SetTexture(0, texture_);
dc.GetThin3DContext()->BindTexture(0, texture_);
dc.Draw()->Rect(bounds_.x, bounds_.y, bounds_.w, bounds_.h, color_);
dc.Flush();
dc.RebindTexture();