Slick Forums
http://slick.ninjacave.com/forum/

Found a bug and fixed it
http://slick.ninjacave.com/forum/viewtopic.php?f=1&t=7053
Page 1 of 1

Author:  mirraj2 [ Fri May 30, 2014 4:22 am ]
Post subject:  Found a bug and fixed it

My program was doing some weird shit in fullscreen mode when it was trying to draw to offscreen buffers. I fixed it by adding the following lines:

In GraphicsFactory.java

Code:
private static void init() throws SlickException {

   //it was going initializing every time and never using the init variable
    if (init) {
     return;
    }

...

}

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/