mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Why was _generated_shader not initialized?
This commit is contained in:
parent
9dfbe88e61
commit
f1e660373d
@ -83,6 +83,7 @@ RenderState() :
|
|||||||
_last_mi = _mungers.end();
|
_last_mi = _mungers.end();
|
||||||
_cache_stats.add_num_states(1);
|
_cache_stats.add_num_states(1);
|
||||||
_read_overrides = NULL;
|
_read_overrides = NULL;
|
||||||
|
_generated_shader = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
@ -109,6 +110,7 @@ RenderState(const RenderState ©) :
|
|||||||
_last_mi = _mungers.end();
|
_last_mi = _mungers.end();
|
||||||
_cache_stats.add_num_states(1);
|
_cache_stats.add_num_states(1);
|
||||||
_read_overrides = NULL;
|
_read_overrides = NULL;
|
||||||
|
_generated_shader = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user