Changeset 1802a41 in opengl-game


Ignore:
Timestamp:
Nov 22, 2019, 9:57:47 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
0cf1a23
Parents:
3782d66
Message:

Make openglref compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • game-gui-glfw.cpp

    r3782d66 r1802a41  
    147147void glfw_key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) {
    148148   UIEvent e;
    149    e.type = action == GLFW_RELEASE ? UI_EVENT_KEYUP ? UI_EVENT_KEYDOWN;
     149   e.type = action == GLFW_RELEASE ? UI_EVENT_KEYUP : UI_EVENT_KEYDOWN;
    150150   e.key.keycode = key;
    151151
Note: See TracChangeset for help on using the changeset viewer.