Tiberian Sun tiles are now loaded.

This commit is contained in:
Justin Marshall
2020-06-30 11:52:05 -07:00
parent 4844f4eaa7
commit 9808598a07
14 changed files with 839 additions and 1586 deletions
+3
View File
@@ -1258,6 +1258,9 @@ void ImDrawList::AddImage(ImTextureID user_texture_id, const ImVec2& p_min, cons
if ((col & IM_COL32_A_MASK) == 0)
return;
if (user_texture_id == NULL)
return;
const bool push_texture_id = _TextureIdStack.empty() || user_texture_id != _TextureIdStack.back();
if (push_texture_id)
PushTextureID(user_texture_id);