Fix for dlopen() -based module loader.

This commit is contained in:
Matthieu Herrb
2006-06-01 01:52:35 +00:00
parent 17dab6d85a
commit b77092858a
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2006-05-31 Matthieu Herrb <matthieu.herrb@laas.fr>
* src/wsfb_driver.c:
Fix for dlopen() -based module loader.
2006-05-27 Jeremy C. Reed <reed@reedmedia.net>
* Makefile.am:

View File

@@ -182,7 +182,7 @@ static const char *fbSymbols[] = {
};
static const char *shadowSymbols[] = {
"shadowInit",
"shadowUpdatePacked",
"shadowUpdatePackedWeak",
NULL
};
@@ -743,7 +743,7 @@ WsfbScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"Shadow FB not available on < 8 depth");
} else {
if (!shadowInit(pScreen, shadowUpdatePacked,
if (!shadowInit(pScreen, shadowUpdatePackedWeak(),
WsfbWindowLinear))
return FALSE;
}