1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 11:52:40 +01:00
openrw/rwgame
Filip b9d306ae70 Improving handling game shaders (#302)
* 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.
2017-10-29 18:47:52 +00:00
..
states Fix some warnings 2017-10-13 19:54:10 +01:00
CMakeLists.txt Remove last mman reference 2017-09-16 19:50:51 +01:00
DrawUI.cpp Fix double promotion 2017-10-25 01:17:46 +01:00
DrawUI.hpp clang-format files in rwgame 2016-09-09 21:13:20 +01:00
game.hpp Move some non-game code into GameBase class 2016-10-19 22:34:51 +01:00
GameBase.cpp rwlib: Add option to abort/break on failed checks or at request 2017-09-16 22:19:39 +01:00
GameBase.hpp Move some non-game code into GameBase class 2016-10-19 22:34:51 +01:00
GameConfig.cpp config: Add the unknown keys to the what() message 2017-08-15 15:58:01 +01:00
GameConfig.hpp config: unknown data will be kept in memory and saved onto disk 2017-08-15 15:58:01 +01:00
GameInput.cpp Extract game input state handling from IngameState 2016-11-19 23:50:34 +00:00
GameInput.hpp Extract game input state handling from IngameState 2016-11-19 23:50:34 +00:00
GameWindow.cpp clang-format files in rwgame 2016-09-09 21:13:20 +01:00
GameWindow.hpp clang-format files in rwgame 2016-09-09 21:13:20 +01:00
GitSHA1.cpp.in Add Git SHA1 hash to RWGame for versioning 2016-08-01 19:34:53 +01:00
GitSHA1.h Add Git SHA1 hash to RWGame for versioning 2016-08-01 19:34:53 +01:00
main.cpp spelling: recieve -> receive 2017-02-20 01:01:30 +00:00
MenuSystem.cpp Improve Menu system implementation 2016-10-24 21:29:41 +01:00
MenuSystem.hpp Make MenuEntry height a property of the Menu 2016-10-24 21:29:41 +01:00
README.md Update readme informations 2015-05-10 23:57:13 +01:00
RWGame.cpp Improving handling game shaders (#302) 2017-10-29 18:47:52 +00:00
RWGame.hpp Interpolating dynamic objects 2017-10-18 21:29:17 +01:00
State.cpp Fix some warnings 2017-10-13 19:54:10 +01:00
State.hpp Rewrite of camera and character look code 2016-12-04 01:06:27 +00:00
StateManager.cpp Overhaul State and StateManager to remove pointers 2016-10-24 21:29:40 +01:00
StateManager.hpp Improve state access to always get the current scene 2017-09-17 00:45:58 +01:00

RWGame

The game executable, handles the frontend UI drawing and menus.