mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
add_gsg
This commit is contained in:
parent
a25ba7ef8b
commit
43101ae12e
@ -1922,6 +1922,10 @@ reset() {
|
|||||||
|
|
||||||
void dx_set_stencil_functions (StencilRenderStates *stencil_render_states);
|
void dx_set_stencil_functions (StencilRenderStates *stencil_render_states);
|
||||||
dx_set_stencil_functions (_stencil_render_states);
|
dx_set_stencil_functions (_stencil_render_states);
|
||||||
|
|
||||||
|
// Now that the GSG has been initialized, make it available for
|
||||||
|
// optimizations.
|
||||||
|
add_gsg(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
@ -3027,6 +3027,10 @@ reset() {
|
|||||||
|
|
||||||
void dx_set_stencil_functions (StencilRenderStates *stencil_render_states);
|
void dx_set_stencil_functions (StencilRenderStates *stencil_render_states);
|
||||||
dx_set_stencil_functions (_stencil_render_states);
|
dx_set_stencil_functions (_stencil_render_states);
|
||||||
|
|
||||||
|
// Now that the GSG has been initialized, make it available for
|
||||||
|
// optimizations.
|
||||||
|
add_gsg(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user