GL_CLAMP_VERTEX_COLOR and GL_CLAMP_FRAGMENT_COLOR deprecated in GL core profile according to OpenGL 4.5 specification.
This commit is contained in:
parent
6776cc2c63
commit
987521ba9c
@ -49,7 +49,9 @@ void ClampColor::apply(State& state) const
|
||||
return;
|
||||
}
|
||||
|
||||
#if !defined(OSG_GL3_AVAILABLE)
|
||||
extensions->glClampColor(GL_CLAMP_VERTEX_COLOR, _clampVertexColor);
|
||||
extensions->glClampColor(GL_CLAMP_FRAGMENT_COLOR, _clampFragmentColor);
|
||||
#endif
|
||||
extensions->glClampColor(GL_CLAMP_READ_COLOR, _clampReadColor);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user