1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-18 16:32:32 +02:00
openrw/rwengine
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
..
src Improving handling game shaders (#302) 2017-10-29 18:47:52 +00:00
CMakeLists.txt Remove libsndfile dependency 2017-09-16 19:50:51 +01:00
README.md Update readme informations 2015-05-10 23:57:13 +01:00

rwengine

Rwengine contains the game data structures, the data loading routines, script virtual machine and generic object logic, as well as a renderer implementation for OpenGL.

Core

Implementations of platform abstraction and file system handling classes are in the core/ directory

Data

Structures that store information about object types, cutscene data, localisation information etc

Objects

The logic for Object types are implemented by the classes in the objects/ directory

Loaders

Classes for loading various file formats

Render

Implementation of a portable OpenGL renderer system lives in the render/ directory

Script

The game script virtual machine, and the function definitions are in the script/ directory