mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
nassertv(is_valid());
This commit is contained in:
parent
114f0650f7
commit
a687dd8f96
@ -267,6 +267,7 @@ clear_render_textures() {
|
|||||||
void GraphicsOutput::
|
void GraphicsOutput::
|
||||||
add_render_texture(Texture *tex, RenderTextureMode mode,
|
add_render_texture(Texture *tex, RenderTextureMode mode,
|
||||||
RenderTexturePlane plane) {
|
RenderTexturePlane plane) {
|
||||||
|
nassertv(is_valid());
|
||||||
|
|
||||||
if (mode == RTM_none) {
|
if (mode == RTM_none) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user