Skip to main content
gamedev.net
🔒 Locked

viewport

Started by Ninj4D4n Jan 15, 2003 at 4:20 PM 0 replies 500+ views
Original Post
Ninj4D4n
Ninj4D4n
hey all, I''m trying to display a bmp that covers the whole viewport (even when the viewport is changed). So the top left of the bmp is (0, 0) and the bottom right is (VP.width, VP.height). How do i go about getting the correct VP.width, and VP.height?? --Ninj4D4n
yzzid
yzzid
Use the IDirect3DDevice9::GetViewport Method to get the viewport structure. In the viewport structure you have Width and Height as members.

-dizzy
-dizzyGame Institute InternPlease rate me. :)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.