Changeset c6f0793 in opengl-game for sdl-game.cpp


Ignore:
Timestamp:
Feb 14, 2021, 12:11:30 AM (4 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
9067efc
Parents:
d8cf709
git-author:
Dmitry Portnoy <dportnoy@…> (02/14/21 00:11:10)
git-committer:
Dmitry Portnoy <dportnoy@…> (02/14/21 00:11:30)
Message:

Use done instead of quit as the game loop flag and change it to an instance variable in SDLGame

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sdl-game.cpp

    rd8cf709 rc6f0793  
    261261   bool show_another_window = false;
    262262
    263    // Main loop
    264    bool done = false;
     263   done = false;
    265264   while (!done) {
    266265      // Poll and handle events (inputs, window resize, etc.)
Note: See TracChangeset for help on using the changeset viewer.