FNA-XNA / FNA3D

FNA3D - 3D Graphics Library for FNA
http://fna-xna.github.io/
Other
287 stars 48 forks source link

D3D11: Draw directly to swapchain whenever possible #126

Closed TheSpydog closed 3 years ago

TheSpydog commented 3 years ago

Added OpenGL's null backbuffer path to D3D11 so that it skips the faux backbuffer entirely and renders directly to the swapchain whenever the backbuffer size and window size match. Also took the opportunity to refactor and reorganize a bit, so the diff is a bit bigger than anticipated.