2abf7b057a
If a render target was switched from one to another and then back consecutively, the texture would not get reattached at the last point due to the fact that the cur_render_target variable of the FBO storage structure would already be set to that texture, and then it would never get reattached because it thought it was already using that render target. So to fix this, any time a render target legitimately changes from one to another, it sets the cur_render_target and cur_zstencil_buffer variables of the FBO structure to null. |
||
---|---|---|
.. | ||
.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 |