Disable deferred updates in xp_init to fix performance problems

-- thanks to Eric Gouriou for pointing out the issue
This commit is contained in:
Ben Byer 2007-11-04 19:14:10 -08:00 committed by Jeremy Huddleston
parent a36983602f
commit 1a1be462ed

View file

@ -46,10 +46,13 @@
# include "damage.h"
#endif
/* 10.4's deferred update makes X slower.. have to live with the tearing
for now.. */
#define XP_NO_DEFERRED_UPDATES 8
// Name of GLX bundle for native OpenGL
static const char *xprOpenGLBundle = "glxCGL.bundle";
/*
* eventHandler
* Callback handler for Xplugin events.
@ -230,7 +233,7 @@ xprDisplayInit(void)
else
darwinScreensFound = 1;
if (xp_init(XP_IN_BACKGROUND) != Success)
if (xp_init(XP_IN_BACKGROUND | XP_NO_DEFERRED_UPDATES) != Success)
{
FatalError("Could not initialize the Xplugin library.");
}