diff options
-rw-r--r-- | xc/programs/Xserver/hw/xfree86/drivers/glint/glint.h | 4 | ||||
-rw-r--r-- | xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/drivers/glint/glint.h b/xc/programs/Xserver/hw/xfree86/drivers/glint/glint.h index 9ef168854..a4e4af758 100644 --- a/xc/programs/Xserver/hw/xfree86/drivers/glint/glint.h +++ b/xc/programs/Xserver/hw/xfree86/drivers/glint/glint.h @@ -181,6 +181,10 @@ typedef struct { ((PCI_VENDOR_3DLABS << 16) | PCI_CHIP_GAMMA) /* Prototypes */ +/* Required if the driver supports mode switching */ +Bool GLINTSwitchMode(int scrnIndex, DisplayModePtr mode, int flags); +/* Required if the driver supports moving the viewport */ +void GLINTAdjustFrame(int scrnIndex, int x, int y, int flags); void Permedia2StoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs); void Permedia2InstallColormap(ColormapPtr pmap); diff --git a/xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c b/xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c index 0195bdf1e..e40c37659 100644 --- a/xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c +++ b/xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c @@ -99,11 +99,6 @@ static void GLINTLeaveVT(int scrnIndex, int flags); static Bool GLINTCloseScreen(int scrnIndex, ScreenPtr pScreen); static Bool GLINTSaveScreen(ScreenPtr pScreen, int mode); -/* Required if the driver supports mode switching */ -Bool GLINTSwitchMode(int scrnIndex, DisplayModePtr mode, int flags); -/* Required if the driver supports moving the viewport */ -void GLINTAdjustFrame(int scrnIndex, int x, int y, int flags); - /* Optional functions */ static void GLINTFreeScreen(int scrnIndex, int flags); static int GLINTValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, |