Slick Forums

Discuss the Slick 2D Library
It is currently Thu Oct 18, 2018 4:37 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Found a bug and fixed it
PostPosted: Fri May 30, 2014 4:22 am 
Offline

Joined: Fri May 30, 2014 4:17 am
Posts: 1
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;
    }

...

}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group