src/context.c

changeset 58
26ebb2f1e6e6
parent 49
77493525eac2
child 63
e3cacdd636e4
     1.1 --- a/src/context.c	Wed Apr 10 19:43:34 2024 +0200
     1.2 +++ b/src/context.c	Fri Apr 12 22:03:15 2024 +0200
     1.3 @@ -66,7 +66,7 @@
     1.4      }
     1.5      SDL_ClearError();
     1.6      asc_context.total_nanos = asc_nanos();
     1.7 -    asc_set_flag(&asc_context.flags, ASC_FLAG_INITILIZED);
     1.8 +    asc_set_flag(asc_context.flags, ASC_FLAG_INITILIZED);
     1.9      asc_dprintf("Ascension context initialized.");
    1.10  }
    1.11  
    1.12 @@ -104,7 +104,7 @@
    1.13      while (SDL_PollEvent(&event)) {
    1.14          switch (event.type) {
    1.15              case SDL_QUIT:
    1.16 -                asc_set_flag(&asc_context.flags, ASC_FLAG_QUIT);
    1.17 +                asc_set_flag(asc_context.flags, ASC_FLAG_QUIT);
    1.18                  break;
    1.19              case SDL_WINDOWEVENT: {
    1.20                  if (event.window.event == SDL_WINDOWEVENT_RESIZED)

mercurial