SurfaceImageSource and IDXGISurface BackBuffer mismatch?

Category: windows metro apps games


Gabriel Isenberg on Wed, 15 Jan 2014 18:22:12

Hey folks, 

I’m running into an odd problem where the IDXGISurface BackBuffer description doesn’t match the size of the SurfaceImageSource that created it. I can’t find any documentation on why this would be the case, but I’m seeing subtle variances (eg: 1366x768 becomes 1376x768, 2560x1440 becomes 2592x1440).

I have the source for an isolated repro using SharpDX available here.

Any ideas?


Gabriel Isenberg on Thu, 16 Jan 2014 01:37:04

Received an answer over on Stack Overflow