Delete all occurances of DGAViewportStatus.

This commit is contained in:
Ian Romanick
2006-11-17 12:58:44 -08:00
parent 0dfee6622d
commit c49b44f9fe
2 changed files with 7 additions and 16 deletions

View File

@@ -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)
*

View File

@@ -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