FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

plain images and fonts for basic example in v.2

 
Post new topic   Reply to topic     Forum Index -> ArcLib
View previous topic :: View next topic  
Author Message
mp4



Joined: 22 Jun 2007
Posts: 19

PostPosted: Mon Aug 18, 2008 2:54 pm    Post subject: plain images and fonts for basic example in v.2 Reply with quote

Hi!

I tried the basic examples in phobos...
I can see the hello world printed.
However, when I resize or just close and reopen the window , the font becomes unreadable... I can see just filled rectangles instead....
Any idea what is going on?

How can this be fixed?


Otherwise the library is easy to use and made a small game with it..
The only problem I have is the resize problem and some keys get stuck..
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Thu Oct 30, 2008 4:47 pm    Post subject: Reply with quote

Hey,

SDL has a strange bug, that when a window is resized, the window looses the OpenGL context and all the textures.

One way around this is to re-load textures after every window resize (yuck), or disallow the window from being re-sizable.

Maybe the SDL folks will fix this someday? http://libsdl.org/

Can you explain "some keys get stuck" more? ...
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> ArcLib All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group