Initialize graphNode->config.camera to NULL (fixes obscure crash)
This commit is contained in:
parent
29b5ef0ef6
commit
7cce6449aa
|
@ -193,6 +193,7 @@ struct GraphNodeCamera *init_graph_node_camera(struct AllocOnlyPool *pool,
|
|||
f32 *focus, GraphNodeFunc func, s32 mode) {
|
||||
if (pool != NULL) {
|
||||
graphNode = alloc_only_pool_alloc(pool, sizeof(struct GraphNodeCamera));
|
||||
graphNode->config.camera = NULL;
|
||||
}
|
||||
|
||||
if (graphNode != NULL) {
|
||||
|
|
Loading…
Reference in New Issue