mirror of
https://github.com/X11Libre/xf86-video-xgi.git
synced 2026-03-24 01:24:35 +00:00
Remove useless structure fields CRT1ModeNo and CRT1DMode
This commit is contained in:
@@ -1202,13 +1202,6 @@ XGIBIOSSetModeCRT1(XGI_Private *XGI_Pr, PXGI_HW_DEVICE_INFO HwInfo,
|
||||
/* SetPitch: Adapt to virtual size & position */
|
||||
XGI_SetPitchCRT1(XGI_Pr, pScrn);
|
||||
|
||||
#ifdef XGIDUALHEAD
|
||||
if(pXGI->DualHeadMode) {
|
||||
pXGIEnt->CRT1ModeNo = ModeNo;
|
||||
pXGIEnt->CRT1DMode = mode;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/* Reset CRT2 if changing mode on CRT1 */
|
||||
#ifdef XGIDUALHEAD
|
||||
|
||||
@@ -415,8 +415,6 @@ typedef struct {
|
||||
ScrnInfoPtr pScrn_2;
|
||||
unsigned char * BIOS;
|
||||
XGI_Private * XGI_Pr;
|
||||
int CRT1ModeNo; /* Current display mode for CRT1 */
|
||||
DisplayModePtr CRT1DMode; /* Current display mode for CRT1 */
|
||||
int CRT2ModeNo; /* Current display mode for CRT2 */
|
||||
Bool CRT2ModeSet; /* CRT2 mode has been set */
|
||||
unsigned char CRT2CR30, CRT2CR31, CRT2CR35, CRT2CR38;
|
||||
|
||||
@@ -2507,7 +2507,7 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
/* First Head (always CRT2) */
|
||||
pXGI->SecondHead = FALSE;
|
||||
pXGIEnt->pScrn_1 = pScrn;
|
||||
pXGIEnt->CRT1ModeNo = pXGIEnt->CRT2ModeNo = -1;
|
||||
pXGIEnt->CRT2ModeNo = -1;
|
||||
pXGIEnt->CRT2ModeSet = FALSE;
|
||||
pXGI->DualHeadMode = TRUE;
|
||||
pXGIEnt->DisableDual = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user