mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
glgsg: reset color write mask before calling draw callback
This commit is contained in:
parent
bafb0ac3db
commit
3f91615a22
@ -3754,6 +3754,10 @@ clear_before_callback() {
|
|||||||
_glClientActiveTexture(GL_TEXTURE0);
|
_glClientActiveTexture(GL_TEXTURE0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// It's also quite reasonable to presume there aren't any funny color write
|
||||||
|
// mask settings active.
|
||||||
|
clear_color_write_mask();
|
||||||
|
|
||||||
// Clear the bound sampler object, so that we do not inadvertently override
|
// Clear the bound sampler object, so that we do not inadvertently override
|
||||||
// the callback's desired sampler settings.
|
// the callback's desired sampler settings.
|
||||||
#ifndef OPENGLES_1
|
#ifndef OPENGLES_1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user