Changeset 5a23277 in opengl-game for opengl-game.cpp


Ignore:
Timestamp:
Nov 12, 2019, 6:40:39 AM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
e3bef3a
Parents:
0ae182f
Message:

Replace the key event in game-gui with distinct key up and key down events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opengl-game.cpp

    r0ae182f r5a23277  
    172172               quit = true;
    173173               break;
    174             case UI_EVENT_KEY:
     174            case UI_EVENT_KEYDOWN:
    175175               if (e.key.keycode == GLFW_KEY_ESCAPE) {
    176176                  quit = true;
Note: See TracChangeset for help on using the changeset viewer.