X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=examples%2Fshared%2Flibc3%2Fsrc%2Fc3context.c;h=8a85c93f216438c525f09f0a9786d34336488419;hb=2463c19868be5e060bb8c0cf897d89397a6d88be;hp=79508e6168eacc4e4975f3e4236fe0fcd9be0199;hpb=90da54280f2ff2d91f2e51f41a5e747c56db6f94;p=simavr diff --git a/examples/shared/libc3/src/c3context.c b/examples/shared/libc3/src/c3context.c index 79508e6..8a85c93 100644 --- a/examples/shared/libc3/src/c3context.c +++ b/examples/shared/libc3/src/c3context.c @@ -44,9 +44,9 @@ c3context_init( c3context_view_t v = { .type = C3_CONTEXT_VIEW_EYE, .size = c3vec2f(w, h), - .cam = c3cam_new(), .dirty = 1, }; + c3cam_init(&v.cam); c3context_view_array_add(&c->views, v); c->root = c3object_new(NULL); c->root->context = c;