mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Fix DX9/DX8 parasite buffer problems.
This commit is contained in:
parent
940038adb7
commit
c33d957dee
@ -140,12 +140,12 @@ end_frame(FrameMode mode, Thread *current_thread) {
|
||||
|
||||
nassertv(_gsg != (GraphicsStateGuardian *)NULL);
|
||||
|
||||
_host->end_frame(FM_parasite, current_thread);
|
||||
|
||||
if (mode == FM_refresh) {
|
||||
return;
|
||||
}
|
||||
|
||||
_host->end_frame(FM_parasite, current_thread);
|
||||
|
||||
if (mode == FM_render) {
|
||||
for (int i=0; i<count_textures(); i++) {
|
||||
if (get_rtm_mode(i) == RTM_bind_or_copy) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user