Change the width / height parameter on a SetDisplayMode.

This commit is contained in:
Lionel Ulmer 2000-10-22 23:46:48 +00:00 committed by Alexandre Julliard
parent 69036e9985
commit c4134c741b
1 changed files with 4 additions and 0 deletions

View File

@ -156,6 +156,10 @@ static HRESULT WINAPI DGA2_IDirectDrawImpl_SetDisplayMode(
/* Re-get (if necessary) the DGA events */
TSXDGASelectInput(display, DefaultScreen(display),
KeyPressMask|KeyReleaseMask|ButtonPressMask|ButtonReleaseMask|PointerMotionMask );
/* And change the DDraw parameters */
This->d->width = width;
This->d->height = height;
}
return DD_OK;