mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-25 11:52:40 +01:00
b9d306ae70
* move delete to earlier stage * lines for better readability * Added detach shader * Addition forgotten glDeleteProgram https://github.com/rwengine/openrw/search?utf8=%E2%9C%93&q=glDeleteProgram&type= In project there's no necessary clearing call of glDeleteProgram. * Removing/Closing shader programs Each shader program should be taken care by glDeleteProgram. To make it works/usefull, each shader's raw ptr will convertet to unique_ptr in next commit. * Converting ShaderProgram's ptr to unique Actually deleting isn't handled, so this commit removes memory leak. |
||
---|---|---|
.. | ||
states | ||
CMakeLists.txt | ||
DrawUI.cpp | ||
DrawUI.hpp | ||
game.hpp | ||
GameBase.cpp | ||
GameBase.hpp | ||
GameConfig.cpp | ||
GameConfig.hpp | ||
GameInput.cpp | ||
GameInput.hpp | ||
GameWindow.cpp | ||
GameWindow.hpp | ||
GitSHA1.cpp.in | ||
GitSHA1.h | ||
main.cpp | ||
MenuSystem.cpp | ||
MenuSystem.hpp | ||
README.md | ||
RWGame.cpp | ||
RWGame.hpp | ||
State.cpp | ||
State.hpp | ||
StateManager.cpp | ||
StateManager.hpp |
RWGame
The game executable, handles the frontend UI drawing and menus.