Fix DX9/DX8 parasite buffer problems.

This commit is contained in:
aignacio_sf 2007-06-01 21:50:57 +00:00
parent 940038adb7
commit c33d957dee

View File

@ -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++) {