nassertv(is_valid());

This commit is contained in:
rdb 2009-05-02 05:46:22 +00:00
parent 114f0650f7
commit a687dd8f96

View File

@ -267,6 +267,7 @@ clear_render_textures() {
void GraphicsOutput::
add_render_texture(Texture *tex, RenderTextureMode mode,
RenderTexturePlane plane) {
nassertv(is_valid());
if (mode == RTM_none) {
return;