mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 11:43:16 +02:00
Ensure blending is enabled during starfield rendering
This commit is contained in:
parent
5e681ee56b
commit
5efb960645
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@ void Renderer::glUpload(GLsizei numStars) {
|
|||
void Renderer::glBatch(GLfloat const* matrix, GLsizei n_ranges, float alpha) {
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
glDisable(GL_LIGHTING);
|
||||
glEnable(GL_BLEND);
|
||||
|
||||
// setup modelview matrix
|
||||
glPushMatrix();
|
||||
|
|
Loading…
Reference in a new issue