Change the width / height parameter on a SetDisplayMode.
This commit is contained in:
parent
69036e9985
commit
c4134c741b
|
@ -156,6 +156,10 @@ static HRESULT WINAPI DGA2_IDirectDrawImpl_SetDisplayMode(
|
||||||
/* Re-get (if necessary) the DGA events */
|
/* Re-get (if necessary) the DGA events */
|
||||||
TSXDGASelectInput(display, DefaultScreen(display),
|
TSXDGASelectInput(display, DefaultScreen(display),
|
||||||
KeyPressMask|KeyReleaseMask|ButtonPressMask|ButtonReleaseMask|PointerMotionMask );
|
KeyPressMask|KeyReleaseMask|ButtonPressMask|ButtonReleaseMask|PointerMotionMask );
|
||||||
|
|
||||||
|
/* And change the DDraw parameters */
|
||||||
|
This->d->width = width;
|
||||||
|
This->d->height = height;
|
||||||
}
|
}
|
||||||
|
|
||||||
return DD_OK;
|
return DD_OK;
|
||||||
|
|
Loading…
Reference in New Issue