mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 03:15:07 -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);
|
nassertv(_gsg != (GraphicsStateGuardian *)NULL);
|
||||||
|
|
||||||
|
_host->end_frame(FM_parasite, current_thread);
|
||||||
|
|
||||||
if (mode == FM_refresh) {
|
if (mode == FM_refresh) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_host->end_frame(FM_parasite, current_thread);
|
|
||||||
|
|
||||||
if (mode == FM_render) {
|
if (mode == FM_render) {
|
||||||
for (int i=0; i<count_textures(); i++) {
|
for (int i=0; i<count_textures(); i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user