mirror of
https://github.com/X11Libre/xf86-video-xgi.git
synced 2026-03-24 01:24:35 +00:00
Delete all occurances of DGAViewportStatus.
This commit is contained in:
@@ -616,11 +616,6 @@ typedef struct {
|
||||
int numDGAModes;
|
||||
Bool DGAactive;
|
||||
|
||||
/**
|
||||
* \bug This field is set but never used.
|
||||
*/
|
||||
int DGAViewportStatus;
|
||||
|
||||
/**
|
||||
* Back old modeNo (if available)
|
||||
*
|
||||
|
||||
@@ -320,24 +320,20 @@ XGI_SetMode(
|
||||
}
|
||||
|
||||
static int
|
||||
XGI_GetViewport(
|
||||
ScrnInfoPtr pScrn
|
||||
){
|
||||
XGIPtr pXGI = XGIPTR(pScrn);
|
||||
XGI_GetViewport(ScrnInfoPtr pScrn)
|
||||
{
|
||||
(void) pScrn;
|
||||
|
||||
return pXGI->DGAViewportStatus;
|
||||
/* There are never pending Adjusts */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
XGI_SetViewport(
|
||||
ScrnInfoPtr pScrn,
|
||||
int x, int y,
|
||||
int flags
|
||||
){
|
||||
XGI_SetViewport(ScrnInfoPtr pScrn, int x, int y, int flags)
|
||||
{
|
||||
XGIPtr pXGI = XGIPTR(pScrn);
|
||||
|
||||
(*pScrn->AdjustFrame)(pScrn->pScreen->myNum, x, y, flags);
|
||||
pXGI->DGAViewportStatus = 0; /* There are never pending Adjusts */
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user