Skip to content
Snippets Groups Projects
  1. Oct 30, 2023
  2. Jul 20, 2023
  3. Jul 17, 2023
  4. Jul 13, 2023
    • Jonathon Hall's avatar
      main.cpp: Queue an extra render event at startup · 53a462b6
      Jonathon Hall authored
      
      For whatever reason, the first call to SDL_RenderPresent() does not
      actually present anything.  Render twice initially as a workaround.
      
      The logic to render extra times (for every frame!) doesn't work
      initially if animations are enabled and the keyboard is not initially
      shown; the keyboard perpetually says it is in a slide animation so
      extra renders are not queued. This logic doesn't seem to be needed
      beyond the initial frame, and it's much simpler just to queue one extra
      render event initially.
      
      Signed-off-by: default avatarJonathon Hall <jonathon.hall@puri.sm>
      Verified
      53a462b6
  5. Jun 01, 2023
  6. Feb 12, 2023
  7. Nov 08, 2022
  8. Nov 02, 2022
  9. Aug 11, 2022
  10. Aug 10, 2022
  11. Aug 05, 2022
  12. Jul 28, 2022
  13. Jun 29, 2022
  14. Jun 13, 2022
Loading