A
A
ArtemSmirnov2011-12-07 21:19:46
Java
ArtemSmirnov, 2011-12-07 21:19:46

LWJGL + Ubuntu = no fullscreen?

The essence of the problem is, the full screen can only be done if it is with the resolution of the monitor itself.

DisplayMode mode = Display.getDesktopDisplayMode();<br/>
Display.setFullscreen(true);<br/>
Display.setDisplayMode(mode);<br/>
Display.create(pf);

But here's to make a full screen with a different resolution
DisplayMode mode = new DisplayMode(800, 600);<br/>
Display.setFullscreen(true);<br/>
Display.setDisplayMode(mode);<br/>
Display.create(pf);

Well, it does not work, maybe someone faced such a problem, tell me how to solve it.
Google search did not help, found one page but did not help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question