The previous model stored a new FBO per texture width/height/format on a array in the device struct. This allocated memory was only released on gs_device_destroy (obs exit). The new approach stores a FBO on gs_texture and the its info is destroyed once the texture is deleted. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| CMakeLists.txt | ||
| gl-cocoa.m | ||
| gl-helpers.c | ||
| gl-helpers.h | ||
| gl-indexbuffer.c | ||
| gl-shader.c | ||
| gl-shaderparser.c | ||
| gl-shaderparser.h | ||
| gl-stagesurf.c | ||
| gl-subsystem.c | ||
| gl-subsystem.h | ||
| gl-texture2d.c | ||
| gl-texturecube.c | ||
| gl-vertexbuffer.c | ||
| gl-windows.c | ||
| gl-x11.c | ||
| gl-zstencil.c | ||