mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
fix cegui + shader issue
This commit is contained in:
parent
77552be22a
commit
0062e134b1
@ -1958,6 +1958,11 @@ void CLP(GraphicsStateGuardian)::
|
|||||||
clear_before_callback() {
|
clear_before_callback() {
|
||||||
disable_standard_vertex_arrays();
|
disable_standard_vertex_arrays();
|
||||||
unbind_buffers();
|
unbind_buffers();
|
||||||
|
|
||||||
|
// Some callbacks may quite reasonably assume that the active
|
||||||
|
// texture stage is still set to stage 0. CEGUI, in particular,
|
||||||
|
// makes this assumption.
|
||||||
|
_glActiveTexture(GL_TEXTURE0);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user