Skip to content
Snippets Groups Projects
Commit c4134c74 authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard
Browse files

Change the width / height parameter on a SetDisplayMode.

parent 69036e99
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment