Jump to content
  • Advertisement
Sign in to follow this  
kyanihilus

Slow loading SDL window

This topic is 4562 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, this is a rather odd question and I'm not sure if anyone can help me with this but; Recently, when I try to run a SDL program, be it a demo that I have downloaded or something that I have created, the loading of the program would be very, very slow. Once it loads, the game runs fine, however, closing the program is also very slow. Even when I just create an empty SDL window, it takes a good 40 seconds for it to load, while it loads my computer is almost frozen. Does anyone have a clue as to what this could be? Thank you,

Share this post


Link to post
Share on other sites
Advertisement
Are any other programs loading slow?
Have you restarted your computer lately?
Have you changed anything about your SDL files lately?

I can't think of anything off the top of my head that would cause programs that use SDL to load any more slowly than anything else given the information that you have given us.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Nothing else loads slow, I haven't done anything usual to my sdl files. In fact, I sent the sdl.dll and a normal blank window program over to another computer and it ran fine, no slow loading. I have rebooted quite often, the only thing that I have done different is updated my .net framework to 2.0.

I have a dual core cpu, 1gb ram, ati radeon x19000..

Share this post


Link to post
Share on other sites
Quote:
Original post by samuraicrow
I doubt .NET would be the problem unless you're using .NET in your demo.


You never know what can happen when you install something [wink]

Share this post


Link to post
Share on other sites
I suppose it depends on what compiler you're using. If you're using Visual C++ then .NET can make a difference. If you're using GCC then it won't.

Share this post


Link to post
Share on other sites
Quote:
Original post by samuraicrow
I suppose it depends on what compiler you're using. If you're using Visual C++ then .NET can make a difference. If you're using GCC then it won't.


The compiler he is using is irrelevent since the OP claimed that it is slow even when loading something he himself did not compile. There is a reason tech supports ask if you have installed anything recently.

Share this post


Link to post
Share on other sites
Does your computer support rolling back windows? If you are desperate, you can try finding a time when it wasn't slow, and then reinstall everything.

See if any drivers, like for your graphics card especially, were updated without you knowing about it. It may be a problem with the fact that directdraw is going out of style, and your graphics card is all like: whatev.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!