mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
compile without PSTATS
This commit is contained in:
parent
08db80c106
commit
2aa4aa702d
@ -64,9 +64,7 @@
|
|||||||
#include "config_gobj.h"
|
#include "config_gobj.h"
|
||||||
#include "mutexHolder.h"
|
#include "mutexHolder.h"
|
||||||
#include "indirectLess.h"
|
#include "indirectLess.h"
|
||||||
#ifdef DO_PSTATS
|
|
||||||
#include "pStatTimer.h"
|
#include "pStatTimer.h"
|
||||||
#endif
|
|
||||||
#ifdef HAVE_CGGL
|
#ifdef HAVE_CGGL
|
||||||
#include "cgShaderAttrib.h"
|
#include "cgShaderAttrib.h"
|
||||||
#endif
|
#endif
|
||||||
@ -1113,9 +1111,7 @@ end_frame() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
#ifdef DO_PSTATS
|
|
||||||
PStatTimer timer(_flush_pcollector);
|
PStatTimer timer(_flush_pcollector);
|
||||||
#endif
|
|
||||||
// Calling glFlush() at the end of the frame is particularly
|
// Calling glFlush() at the end of the frame is particularly
|
||||||
// necessary if this is a single-buffered visual, so that the frame
|
// necessary if this is a single-buffered visual, so that the frame
|
||||||
// will be finished drawing before we return to the application.
|
// will be finished drawing before we return to the application.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user