This commit is contained in:
bencat07 2019-06-09 19:13:18 +02:00
parent d73465e8ac
commit c3000f17c4

View File

@ -28,6 +28,7 @@ void begin()
glDisable(GL_STENCIL_TEST);
glDisable(GL_POLYGON_SMOOTH);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ONE);
glPushClientAttrib(GL_CLIENT_ALL_ATTRIB_BITS);
@ -68,4 +69,4 @@ void bind(GLuint texture)
glBindTexture(GL_TEXTURE_2D, texture);
}
}
} // namespace glez::detail::render
} // namespace glez::detail::render