summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* OpenGL: Fix state tracking in situations with reused object handlesYuri Kunde Schlesner2015-08-061-0/+32
| | | | | | | | | | | | If an OpenGL object is created, bound to a binding using the state tracker, and then destroyed, a newly created object can be assigned the same numeric handle by OpenGL. However, even though it is a new object, and thus needs to be bound to the binding again, the state tracker compared the current and previous handles and concluded that no change needed to be made, leading to failure to bind objects in certain cases. This manifested as broken text in VVVVVV, which this commit fixes along with similar texturing problems in other games.
* OpenGL: Remove redundant texture.enable_2d field from OpenGLStateYuri Kunde Schlesner2015-08-061-10/+2
| | | | | All uses of this field where it's false can just set the texture id to 0 instead.
* GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) callsYuri Kunde Schlesner2015-07-221-8/+5
| | | | | | | In OpenGL 3, texturing is always enabled, and this call is invalid. While it produced no effect in the rest of the execution, it wouldn't have the intended effect of disabling texturing for that unit. Instead bind a null texture to the unit.
* Renderer formatting editstfarley2015-06-091-14/+17
|
* Implemented glColorMasktfarley2015-06-091-0/+13
|
* Pica: Implement LogicOp function.bunnei2015-05-311-0/+11
|
* Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2015-05-291-1/+1
|
* gl_state: Remove unnecessary const specifier on ApplyLioncash2015-05-231-1/+1
|
* gl_state: Fix a condition typo in ApplyLioncash2015-05-231-1/+1
|
* OpenGL renderertfarley2015-05-231-0/+160