obs-studio/libobs-opengl
jp9000 2abf7b057a libobs-opengl: Fix bug switching render targets
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.
2015-03-22 18:38:47 -07:00
..
.gitignore first commit 2013-09-30 19:37:13 -07:00
CMakeLists.txt Generate proper DL_OPENGL value for linux 2015-02-16 15:28:42 -05:00
gl-cocoa.m (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-helpers.c Use uint8_t* instead of void* for texture data 2014-06-28 10:12:57 -07:00
gl-helpers.h Use uint8_t* instead of void* for texture data 2014-06-28 10:12:57 -07:00
gl-indexbuffer.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-shader.c libobs-opengl: Do not fail if shader param unused 2015-03-22 18:38:46 -07:00
gl-shaderparser.c Replace ARB_separate_shader_objects extension 2014-09-19 18:23:51 -07:00
gl-shaderparser.h (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
gl-stagesurf.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-subsystem.c libobs-opengl: Fix bug switching render targets 2015-03-22 18:38:47 -07:00
gl-subsystem.h (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-texture2d.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-texturecube.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-vertexbuffer.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-windows.c Fix windows printf format warnings (from mingw) 2015-02-09 03:49:14 -08:00
gl-x11.c Move from libX11/GLX to XCB/libX11/GLX. 2014-12-19 19:23:08 -08:00
gl-zstencil.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00