Skip to content

Commit 17776b0

Browse files
committed
glgsg: fix shader not being applied if same across multiple buffers
See https://discourse.panda3d.org/t/multi-pass-rendering-setinitialstate-wont-apply-shader/25712
1 parent e8d8f20 commit 17776b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

panda/src/glstuff/glGraphicsStateGuardian_src.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4148,6 +4148,7 @@ end_frame(Thread *current_thread) {
41484148
_current_shader = nullptr;
41494149
_current_shader_context = nullptr;
41504150
}
4151+
_state_shader = nullptr;
41514152
#endif
41524153

41534154
// Respecify the active texture next frame, for good measure.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy