Slick Forums

Discuss the Slick 2D Library
It is currently Tue May 21, 2013 9:31 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Sep 18, 2009 1:41 pm 
Offline
Regular
User avatar

Joined: Thu Dec 18, 2008 6:07 pm
Posts: 238
Location: Bournemouth, UK
See thread:
http://slick.javaunlimited.net/viewtopic.php?t=1912

_________________
- Gwinnell (irc.freenode.net, irc.chatspike.net)
- Game Jolt Moderator


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 19, 2009 2:45 am 
Offline

Joined: Sat Jun 16, 2007 8:37 pm
Posts: 22
I'm not sure this is a bug.

As you have discovered, a call to reinit() is probably the way to go since Slick's rendering engine is based more on a retained mode model than an immediate mode model.

Resolution change is a costly operation, so triggering it on the width/height set would create a pretty interesting and unappealing "double operation" side effect since you have to set those parameters in separate properties after the container has been constructed.

Because of this, it's reasonable that you should set your screen sizes and have it perform the resolution change via reinit() once you have all the parameters of your transaction plugged into the game container.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 23, 2009 7:47 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
You're not meant to have to call reinit(), thats for an entirely different purporse. However, the ScalabeTest seems to be work still, could you provide a simple test case that shows the issue?

Kev


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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