Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11855 Posts in 1569 Topics- by 3024 Members - Latest Member: floutleMili

07. February 2012, 02:48:16 AM
Xith3D CommunityGeneral CategoryNews (Moderators: Marvin Fröhlich, 'n ddrylliog)Canvas-size in JOGL-windowed-mode
Pages: [1]
Print
Author Topic: Canvas-size in JOGL-windowed-mode  (Read 1196 times)
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« on: 03. January 2007, 05:44:34 AM »

I fixed the canvas-size in JOGL-windowed-mode. The GLCanvas was put into a BorderLayout, which did nonsense. So I switched to a null-layout and gave the Canvas the correct size and the Frame the canvas size plus ints insets.

This way the HUD is finally rendered correctly even in windowed mode Smiley.

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic