MCPcopy Create free account
hub / github.com/RevoSucks/BM64Recomp / ReleaseTexture

Method ReleaseTexture

src/ui/ui_renderer.cpp:562–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560 }
561
562 void ReleaseTexture(Rml::TextureHandle texture) override {
563 if (texture > 1) {
564 // Textures #0 and #1 are reserved and should never be released.
565 textures_.erase(texture);
566 }
567 }
568
569 void SetTransform(const Rml::Matrix4f* transform) override {
570 transform_ = transform ? *transform : Rml::Matrix4f::Identity();

Callers

nothing calls this directly

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected