• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JOGL Help: Adjusting glViewport() in display

 
Stevie Shorey
Ranch Hand
Posts: 45
Android Chrome Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How do i adjust the viewport and gluOrtho2D size once i have initiated them in init().
Basically when the user loads a new image, how do i adjust the viewport to this new image's size?
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic