Changeset ed7c953 in opengl-game


Ignore:
Timestamp:
Sep 3, 2019, 7:29:06 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
39278a8
Parents:
b6e60b4
Message:

Print an error message when game-gui fails to create a window

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • opengl-game.cpp

    rb6e60b4 red7c953  
    4040   if (window == nullptr) {
    4141      cout << "Window could not be created!" << endl;
     42      cout << gui->getError() << endl;
    4243      return RTWO_ERROR;
    4344   }
  • vulkan-game.cpp

    rb6e60b4 red7c953  
    4040   if (window == nullptr) {
    4141      cout << "Window could not be created!" << endl;
     42      cout << gui->getError() << endl;
    4243      return RTWO_ERROR;
    4344   }
Note: See TracChangeset for help on using the changeset viewer.