microsoft / angle

ANGLE: OpenGL ES to DirectX translation
Other
615 stars 166 forks source link

DisplayProperties have been deprecated, we're supposed to use DisplayInformation #146

Closed johanlindfors closed 5 years ago

johanlindfors commented 6 years ago

Is this sufficient?

BastiaanOlij commented 6 years ago

Applying this patch seems to work for me as far as those errors are concerned but haven't been able to test anything with it.

flibitijibibo commented 6 years ago

To get the DPI you have to get IDisplayInformationStatics first, then get IDisplayInformation from that:

https://github.com/FNA-XNA/angle/commit/6119e24fabae7bc5269a8bd4a0fff025017d93d0

The above commit fixes this issue for Xbox One at least.

austinkinross commented 5 years ago

Hi everyone, thank you for this contribution and discussion.

We are unable to take contributions to this repository. Instead, we recommend making contributions directly to the main ANGLE repository: https://opensource.google.com/projects/angle

Thanks again Austin