MCPcopy Create free account
hub / github.com/doldecomp/mkdd / removeTexture

Method removeTexture

libs/JSystem/J2DGraph/J2DMatBlock.cpp:277–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277bool J2DTevBlock1::removeTexture(u32 id)
278{
279 if (id >= 1) {
280 return false;
281 }
282
283 if (mUndeleteFlag & 1) {
284 delete mTextures[0];
285 }
286
287 mTextures[0] = nullptr;
288 mUndeleteFlag &= 0x80;
289 delete mPalettes[0];
290 mTexIndices[0] = -1;
291 return true;
292}
293
294bool J2DTevBlock1::setFont(ResFONT* font)
295{

Callers 1

removeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected