Changeset f133da0 in opengl-game for game-gui-glfw.cpp


Ignore:
Timestamp:
Sep 16, 2019, 2:09:05 AM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
c6fec84
Parents:
df2cc24
Message:

Add renderScene and renderUI functions to openglgame and use IMGUI to render the main menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • game-gui-glfw.cpp

    rdf2cc24 rf133da0  
    6060   // I think glfwGetWindowSize(window, width, height) works fine.
    6161
     62   return window;
     63}
     64
     65void GameGui_GLFW::bindEventHandlers() {
    6266   glfwSetMouseButtonCallback(window, glfw_mouse_button_callback);
    6367   glfwSetKeyCallback(window, glfw_key_callback);
    64 
    65    return window;
    6668}
    6769
Note: See TracChangeset for help on using the changeset viewer.