Thanks again Egon:), and....
I get this strange error message...
Can't find desired videomode (200 x 200 x 24) - searching for alternatives
[ Fri Jan 12 02:37:48 GMT 2007 ] - ERROR: Can't find any suitable videomode!
[ Fri Jan 12 02:37:48 GMT 2007 ] - ERROR: Can't set videomode - try different settings!
I am using the following...
buffer = new FrameBuffer(200,200,FrameBuffer.SAMPLINGMODE_NORMAL);
//Config.glSetDesiredVideoMode(FrameBuffer.getVideoModes(IRenderer.RENDERER_OPENGL)[0],true);
buffer.enableRenderer(IRenderer.RENDERER_OPENGL,IRenderer.MODE_OPENGL);
buffer.disableRenderer(IRenderer.RENDERER_SOFTWARE);
I am not even attempting to enter full screen mode in this instance!:)
The game does load after this, but only a black box is shown where the players model should be. So, it isn't working, basically:).
I would like to be able to enter 640x480x24 full screen mode too, if possible.
This message only appears when I use MODE_OPENGL.
The options I plan to support will be:
Software Rendering & Hardware Rendering(Windowed or Fullscreen).
To be fair, it is 2:45am. No doubt I am overlooking the blatantly obvious;).
EDIT:
Is is even possible to use the hardware accelerated mode like this?....
bufferType = buffer.getType();
if(bufferType==FrameBuffer.BUFFEREDIMAGE)
image = (BufferedImage)buffer.getOutputBuffer();
I basically render the scene, then draw the backbuffer where I want it.
Naturally, I have traps to do it the long way, when there is no bufferedimage, but this is not so important.
I am starting to get the impression hardware mode doesnt work quite the same way.