forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

glViewport

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
webjeff



Joined: 05 May 2005
Posts: 66

PostPosted: Thu Sep 01, 2005 7:42 am    Post subject: glViewport Reply with quote

I am setting it like this:

glViewport(100,100,100,100);

so I should see a viewport not starting in the corner, but 100 from the corner and 100 pixels wide/tall. But the (x,y), the first two components of this function don't seem to do anything, can somone test this really quick?

Thanks
Jeff.
Back to top
View user's profile Send private message
holger



Joined: 18 Aug 2005
Posts: 204

PostPosted: Thu Sep 01, 2005 11:06 pm    Post subject: Reply with quote

mmhhh.... could you please play with the Viewport / Screen Offset register? See glViewport.c, registers 76 and 77. Maybe we need to add x and y there. Maybe also at the viewport center point (register 69/70). Can you please report your results?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group