mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 00:13:53 +02:00
Merge pull request #4622 from jherico/starfield_hack_fix
Ensure blending is enabled during starfield rendering
This commit is contained in:
commit
91d6046051
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