debrix-driver-fbdev/fbdev Makefile.am,NONE,1.1 fbdev.c,1.2,1.3

Daniel Stone <xserver-commit-u7BhqnqprCWvj1b/[email protected]>
Newsgroups gmane.comp.freedesktop.xserver.cvs
Message-ID <[email protected]>
Committed by: daniel

Update of /cvs/xserver/debrix-driver-fbdev/fbdev
In directory pdx:/tmp/cvs-serv8556/fbdev

Modified Files:
	fbdev.c 
Added Files:
	Makefile.am 
Log Message:
Initial import of fbdev driver from the monolithic tree.

--- NEW FILE: Makefile.am ---
driverdir = $(libdir)/xorg/modules/drivers
driver_LTLIBRARIES = libfbdev.la

libfbdev_la_SOURCES = fbdev.c

Index: fbdev.c
===================================================================
RCS file: /cvs/xserver/debrix-driver-fbdev/fbdev/fbdev.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- fbdev.c	23 Apr 2004 19:31:36 -0000	1.2
+++ fbdev.c	25 Jun 2004 12:50:15 -0000	1.3
@@ -6,6 +6,9 @@
  */
 
 /* all driver need this */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "xf86.h"
 #include "xf86_OSproc.h"
 #include "xf86_ansic.h"
@@ -782,7 +785,8 @@
 
 	if (fPtr->shadowFB && 
 	    (!shadowSetup(pScreen) || !shadowAdd(pScreen, NULL,
-	      fPtr->rotate ? shadowUpdateRotatePacked : shadowUpdatePacked,
+	      fPtr->rotate ? getShadowUpdateRotatePacked() :
+              getShadowUpdatePacked(),
 	      FBDevWindowLinear, fPtr->rotate, NULL)) ) {
 	    xf86DrvMsg(scrnIndex, X_ERROR,
 		       "Shadow framebuffer initialization failed.\n");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.