MCPcopy Create free account
hub / github.com/Lovrom8/RSMods / UpdateStringTextures

Function UpdateStringTextures

DLL/Menu.cpp:59–65  ·  view source on GitHub ↗

Regenerate string colors when the user changes their string colors in the GUI. Needed to have real-time textures.

Source from the content-addressed store, hash-verified

57 /// Needed to have real-time textures.
58 /// </summary>
59 void UpdateStringTextures(IDirect3DDevice9* pDevice) {
60 if (generateTexture) {
61 D3D::GenerateTextures(pDevice, D3D::Strings);
62
63 generateTexture = false;
64 }
65 }
66
67 void Init(IDirect3DDevice9* pDevice, LONG_PTR WndProc) {
68 if (ImGuiInit) {

Callers 1

Hook_EndSceneMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected