mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
GL_TRUE
This commit is contained in:
parent
6c3f5aca2a
commit
f4aaa21b50
@ -5913,7 +5913,7 @@ finish_modify_state() {
|
|||||||
GLP(Disable)(GL_TEXTURE_GEN_R);
|
GLP(Disable)(GL_TEXTURE_GEN_R);
|
||||||
GLP(Disable)(GL_TEXTURE_GEN_Q);
|
GLP(Disable)(GL_TEXTURE_GEN_Q);
|
||||||
if (_supports_point_sprite) {
|
if (_supports_point_sprite) {
|
||||||
GLP(TexEnvi)(GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, FALSE);
|
GLP(TexEnvi)(GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
TexGenAttrib::Mode mode = _current_tex_gen->get_mode(stage);
|
TexGenAttrib::Mode mode = _current_tex_gen->get_mode(stage);
|
||||||
@ -6067,7 +6067,7 @@ finish_modify_state() {
|
|||||||
|
|
||||||
case TexGenAttrib::M_point_sprite:
|
case TexGenAttrib::M_point_sprite:
|
||||||
nassertv(_supports_point_sprite);
|
nassertv(_supports_point_sprite);
|
||||||
GLP(TexEnvi)(GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, TRUE);
|
GLP(TexEnvi)(GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE);
|
||||||
got_point_sprites = true;
|
got_point_sprites = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user