| 35 | } |
| 36 | |
| 37 | bool ImageReference::Bind(FixedString const& iconOrTexture) |
| 38 | { |
| 39 | if (!BindIcon(iconOrTexture) && !BindTexture(iconOrTexture)) { |
| 40 | WARN("Unable to load icon or texture resource '%s'", iconOrTexture.GetString()); |
| 41 | return false; |
| 42 | } |
| 43 | |
| 44 | return true; |
| 45 | } |
| 46 | |
| 47 | bool ImageReference::BindTexture(FixedString const& textureUuid) |
| 48 | { |
no test coverage detected