Puppyprint
This commit is contained in:
1 parent
4ae923aaa0
commit
30aeb6841c
18 files changed
+1329
-13
No files matched your search
@@ -12,6 +12,7 @@
|
||||
#include "sm64.h"
|
||||
#include "game_init.h"
|
||||
#include "engine/extended_bounds.h"
|
||||
#include "puppyprint.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
@@ -1107,6 +1108,9 @@ void geo_process_node_and_siblings(struct GraphNode *firstNode) {
|
||||
*/
|
||||
void geo_process_root(struct GraphNodeRoot *node, Vp *b, Vp *c, s32 clearColor) {
|
||||
UNUSED s32 unused;
|
||||
#ifdef PUPPYPRINT
|
||||
OSTime first = osGetTime();
|
||||
#endif
|
||||
|
||||
if (node->node.flags & GRAPH_RENDER_ACTIVE) {
|
||||
Mtx *initialMatrix;
|
||||
@@ -1147,4 +1151,7 @@ void geo_process_root(struct GraphNodeRoot *node, Vp *b, Vp *c, s32 clearColor)
|
||||
}
|
||||
main_pool_free(gDisplayListHeap);
|
||||
}
|
||||
#ifdef PUPPYPRINT
|
||||
profiler_update(graphTime, first);
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user