View previous topic :: View next topic |
Author |
Message |
mp4
Joined: 22 Jun 2007 Posts: 19
|
Posted: Mon Aug 18, 2008 2:54 pm Post subject: plain images and fonts for basic example in v.2 |
|
|
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 |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Thu Oct 30, 2008 4:47 pm Post subject: |
|
|
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 |
|
|
|