Archived

This topic is now archived and is closed to further replies.

capo

fullscreen in tuturial 2

Recommended Posts

capo    122
Lo there, I''m experiencing some errors when running the 2nd tuturial in fullscreen. It''s working just fine the way it comes, but if you pass the fullscreen parameter the background you init at start (the whole background) is darker then the parts of the background that you update during the movement of the image. If you don''t experience the same problem, just say so and I''ll threat my gfxcard with some curses. (all you need to change is adding the SDL_FULLSCREEN to the videomode initing, using the source on the page) and thanks for a nice tuturial cone...

Share this post


Link to post
Share on other sites
cone3d    150
yes, I have noticed it. It''s like that in windows. In linux everything is fine (at least that''s how I remember it)

The fix is quite easy: replace SDL_HWSURFACE with SDL_SWSURFACE.
and remove SDL_DOUBLEBUF. That should fix everything.


---
cone3d
http://cone3d.gamedev.net
Multitasking - screwing up several things at once.

Share this post


Link to post
Share on other sites
capo    122
oki =) hate those things you can''t control =)

thanks for a fast answer though...keep up the good work...looking forward to the 3rd tuturial =)

Share this post


Link to post
Share on other sites