Enable alpha blending
This commit is contained in:
@@ -85,6 +85,9 @@ namespace OpenRA.Renderer.Glsl
|
||||
Gl.glEnableClientState( Gl.GL_TEXTURE_COORD_ARRAY );
|
||||
CheckGlError();
|
||||
|
||||
Gl.glEnable(Gl.GL_BLEND);
|
||||
Gl.glBlendFunc(Gl.GL_SRC_ALPHA, Gl.GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
Sdl.SDL_SetModState( 0 ); // i have had enough.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user