LWJGL's AWTGLCanvas displaying half size

Started by Jakes, October 30, 2020, 01:56:09

Previous topic - Next topic

Jakes

Hello everyone,

I'm having this issue on a different machine, where the canvas is being displayed only half the height of the frame canvas area.
So basically if I set the canvas to have 500 x 500, it will only display the 500 x 250 (the bottom half).

this is my code for the frame:

frame.setSize(width, height);
frame.setAlwaysOnTop(stayOnTop);
frame.getContentPane().add(canvas, BorderLayout.CENTER);
frame.setUndecorated(false);
frame.pack();
frame.setVisible(true);


this issue only seems to happen on a computer with windows 10, x64

is there any known issue regarding this component?

many thanks in advance,
regards,
Jakes