ChangeDisplaySettings(Neverwinter Nights)

Tommy Schultz Lassen tlassen at tlassen.dk
Sat Aug 10 14:05:27 CDT 2002


Sylvain Petreolle <spetreolle at yahoo.fr> writes:

> Okay, then I have a question :
> What happens in mode "Desktop" = "N" ?

That depends. If Managed=N it would change the mode. If Managed=Y it
is still uninplimentet and dosend change anything.

> Without your patch applied at this time, Quake III Arena can resize
> it's screen but is complaining about this function being a stub.
> 
> I write this because i don't know what function can be used to resize
> screen / change video mode.
> In this way it's difficult to know if the call to the other function
> has been made prior to the ChangeDisplaySettings call.
> 
> Consider that the other fnction resizes the screen and
> ChangeDisplaySettings is called after : 
> - the game resizes the screen without problem.
> - a call to ChangeDisplaySettings is made.
> Would the resize be made twice ?

I haven't tested it but if the mode specified in ChangeDisplaySettings
is different the mode is changed again. If not It shouldend be changed.


MVH Tommy



More information about the wine-devel mailing list