1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01:00
openrw/rwviewer
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
..
models rwlib: Use ClumpPtr instead of Clump* 2017-10-18 21:52:29 +01:00
views rwlib/rwengine: Use AnimationPtr instead of Animation* 2017-10-18 21:52:29 +01:00
widgets rwlib: Use ClumpPtr instead of Clump* 2017-10-18 21:52:29 +01:00
AnimationListModel.cpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
AnimationListModel.hpp rwlib/rwengine: Use AnimationPtr instead of Animation* 2017-10-18 21:52:29 +01:00
AnimationListWidget.cpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
AnimationListWidget.hpp rwlib/rwengine: Use AnimationPtr instead of Animation* 2017-10-18 21:52:29 +01:00
CMakeLists.txt Remove include directory from rwengine for consistency 2016-08-07 14:41:45 +01:00
IMGArchiveModel.cpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
IMGArchiveModel.hpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
ItemListModel.cpp Overhaul Model data handling to improve accuracy 2016-09-27 22:48:45 +01:00
ItemListModel.hpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
ItemListWidget.cpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
ItemListWidget.hpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
main.cpp clang-format files in rwviewer 2016-09-09 21:13:21 +01:00
README.md Add Readme and Copying files 2014-02-13 09:51:42 +00:00
ViewerWidget.cpp Improving handling game shaders (#302) 2017-10-29 18:47:52 +00:00
ViewerWidget.hpp rwlib: Use ClumpPtr instead of Clump* 2017-10-18 21:52:29 +01:00
ViewerWindow.cpp Remove usages of WorkContext 2016-12-02 00:56:38 +00:00
ViewerWindow.hpp Remove usages of WorkContext 2016-12-02 00:56:38 +00:00

RWViewer

Qt Viewer for viewing contents of archives, viewing DFF models etc.