Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JOGL Help: Adjusting glViewport() in display

 
Stevie Shorey
Ranch Hand
Posts: 45
Android Chrome Netbeans IDE
  • 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