mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Fix DX9/DX8 parasite buffer problems.
This commit is contained in:
parent
940038adb7
commit
c33d957dee
@ -140,11 +140,11 @@ 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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user