mirror of
https://github.com/zeldaret/mm.git
synced 2026-09-01 17:29:56 -04:00
Debug display mostly OK (#399)
* WIP * done? * remove something from variables.h * missed a warning * PR fixes (AngheloAlf) * fix lights * restore ZAPD makefile * format * format again * fix a graph alloc * Missed one in skin
This commit is contained in:
@@ -577,12 +577,7 @@ void SkinMatrix_MtxFToMtx(MtxF* src, Mtx* dest) {
|
||||
}
|
||||
|
||||
Mtx* SkinMatrix_MtxFToNewMtx(GraphicsContext* gfxCtx, MtxF* src) {
|
||||
s32 pad;
|
||||
Mtx* mtx;
|
||||
|
||||
// TODO allocation should be a macro
|
||||
mtx = (Mtx*)((int)gfxCtx->polyOpa.d - sizeof(Mtx));
|
||||
gfxCtx->polyOpa.d = (void*)mtx;
|
||||
Mtx* mtx = GRAPH_ALLOC(gfxCtx, sizeof(Mtx));
|
||||
|
||||
if (mtx == NULL) {
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user