Enable alpha blending

This commit is contained in:
Paul Chote
2010-11-11 11:14:44 +13:00
parent 518e00c78a
commit 888710cbc5

View File

@@ -84,7 +84,10 @@ namespace OpenRA.Renderer.Glsl
CheckGlError();
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.
}