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

Daniel Stone xserver-commit at pdx.freedesktop.org
Fri Jun 25 05:50:17 PDT 2004


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");




More information about the xserver-commit mailing list