Dx10 Render Target Problem

Started by
1 comment, last by kiwijus 12 years, 11 months ago
My application runs at 800x600 and I'm trying to render to a 2048x2048 texture, however when I render to this texture only the top left corner is filled ( 800 x 600 ).

What do I need to do to allow DX10 to render a size that's different from the primary window?

Thanks,
Dave
Advertisement
I believe you need to set up a 2048x2048 viewport, at least that's what you do in dx11 so it's probably the same in 10. Here's some info on viewports, it should be pretty straightforward: http://msdn.microsoft.com/en-us/library/bb205126(v=vs.85).aspx
Yep, that did it! :) Thanks!

This topic is closed to new replies.

Advertisement