Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

27. May 2012, 01:26:34 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 1230 times)
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


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