MCPcopy Create free account
hub / github.com/ddnet/ddnet / GetSpeedupTexture

Method GetSpeedupTexture

src/game/editor/editor.cpp:7036–7041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7034}
7035
7036IGraphics::CTextureHandle CEditor::GetSpeedupTexture()
7037{
7038 if(!m_SpeedupTexture.IsValid())
7039 m_SpeedupTexture = Graphics()->LoadTexture("editor/speedup.png", IStorage::TYPE_ALL, GetTextureUsageFlag());
7040 return m_SpeedupTexture;
7041}
7042
7043IGraphics::CTextureHandle CEditor::GetSwitchTexture()
7044{

Callers 1

RenderMethod · 0.80

Calls 3

GraphicsFunction · 0.85
LoadTextureMethod · 0.80
IsValidMethod · 0.45

Tested by

no test coverage detected