mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
gobj: fix typo causing crash when preparing shader
This commit is contained in:
parent
82e2c39172
commit
fbf939141b
@ -1619,8 +1619,8 @@ begin_frame(GraphicsStateGuardianBase *gsg, Thread *current_thread) {
|
||||
++qsi) {
|
||||
Shader *shader = qsi->first;
|
||||
ShaderContext *sc = shader->prepare_now(this, gsg);
|
||||
if (qti->second != nullptr) {
|
||||
qti->second->set_result(sc);
|
||||
if (qsi->second != nullptr) {
|
||||
qsi->second->set_result(sc);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user