[FIXED] Display.setFullscreen(true); in LWJGL 2.8

Started by Mickelukas, October 11, 2011, 05:49:15

Previous topic - Next topic

Mickelukas

Hiya,

To get the mac fix I migrated to 2.8. Ever since the command Display.setFullscreen(true); doesn't make the applet go to fullscreen anymore in Windows 7 (tested both nvidia and ati). I'll try to figure out how to use the debug jar and see if some kind of output is created.

Mike

EDIT: using the lwjgl-debug isn't possible as it complains about opengles not being available (java.lang.NoClassDefFoundError: org/lwjgl/opengles/PixelFormat and it is indeed missing in the jar but I'm not using opengles). Using -Dorg.lwjgl.util.Debug=true doesn't give any extra output.

EDIT2: Apparently System.out.println(Display.getDisplayMode().isFullscreenCapable()); returns false which is why it isn't switching anymore. This is where I got stuck looking through the code, I don't know what changed that could have caused it.

kappa

just curious, is this issue specific to applets (Display.setParent()) ? or does the same issue apply to normal standalone Display window?

Mickelukas

It only applies to Display.setParent(), I tried it with a standalone and it worked fine. There changed a lot of things in that part of the code since 2.7.1, any idea what caused it to break?

Mike

spasi

Quote from: Mickelukas on October 11, 2011, 05:49:15EDIT: using the lwjgl-debug isn't possible as it complains about opengles not being available (java.lang.NoClassDefFoundError: org/lwjgl/opengles/PixelFormat and it is indeed missing in the jar but I'm not using opengles).

This will be fixed in the next nightly.

Mickelukas

Quote from: spasi on October 11, 2011, 16:07:36
Quote from: Mickelukas on October 11, 2011, 05:49:15EDIT: using the lwjgl-debug isn't possible as it complains about opengles not being available (java.lang.NoClassDefFoundError: org/lwjgl/opengles/PixelFormat and it is indeed missing in the jar but I'm not using opengles).

This will be fixed in the next nightly.

Thanks, let's hope I get more info using it :) The missis is getting grumpy about the game area being so small :P

Mike

kappa

This should be fixed in svn now, do test next nightly build.

Mickelukas

Amazing job as always :) I will have a look tomorrow

Mike

Mickelukas

It works great, thanks! This bug almost seems big enough to release a 2.8.1 by the way.

Mike