- removed the direct setters for the blend mode state.
This will now always have to go through the render state.
This commit is contained in:
parent
a3aaa5cc8b
commit
0af65a8fa0
6 changed files with 10 additions and 25 deletions
|
|
@ -537,8 +537,7 @@ void FGLRenderer::Draw2D(F2DDrawer *drawer)
|
|||
}
|
||||
glDisable(GL_SCISSOR_TEST);
|
||||
|
||||
gl_RenderState.BlendEquation(GL_FUNC_ADD);
|
||||
gl_RenderState.BlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
gl_RenderState.SetRenderStyle(STYLE_Translucent);
|
||||
gl_RenderState.SetVertexBuffer(mVBO);
|
||||
gl_RenderState.EnableTexture(true);
|
||||
gl_RenderState.EnableBrightmap(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue