mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
fix flashing texture problem when multiple buffers or windows are open
This commit is contained in:
parent
81f6ebd44e
commit
bcd4d48e70
@ -14,6 +14,7 @@
|
||||
|
||||
#include "adaptiveLru.h"
|
||||
#include "config_gobj.h"
|
||||
#include "clockObject.h"
|
||||
#include "indent.h"
|
||||
|
||||
static const int HIGH_PRIORITY_SCALE = 4;
|
||||
@ -240,7 +241,7 @@ begin_epoch() {
|
||||
do_evict_to(_max_size, false);
|
||||
}
|
||||
|
||||
++_current_frame_identifier;
|
||||
_current_frame_identifier = ClockObject::get_global_clock()->get_frame_count();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user