Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / DarkGDK hates my PC.

Author
Message
TheKGuy
8
Years of Service
User Offline
Joined: 11th Apr 2012
Location:
Posted: 18th Apr 2012 20:53
When I try and run this code:



I get a black screen. I'm running Windows XP Professional SP3 desktop with an old ATI Radeon 9800 graphics card. I took it from a YouTube tutorial, and on the tutorial maker's computer, it worked just fine. The Visual C++ 2008 Express install crashed halfway, but it finished after a restart. I updated my graphics drivers and restarted, and I also installed the November 2008 update, but didn't know where to put the October 2010 update. If any of this information looks wrong, please tell me.
DeadTomGC
10
Years of Service
User Offline
Joined: 11th Aug 2010
Location: LU
Posted: 19th Apr 2012 00:44
Are you certain that the file has the correct name and that it is sitting in the same folder as the main.cpp?


TheKGuy
8
Years of Service
User Offline
Joined: 11th Apr 2012
Location:
Posted: 19th Apr 2012 02:38
Thanks, that was it. It looks really weird (probably because the edges of the sprite were anti-aliased), but otherwise fine.
DeadTomGC
10
Years of Service
User Offline
Joined: 11th Aug 2010
Location: LU
Posted: 19th Apr 2012 02:42
If the edges look weird, its probably because of image compression. You'll want to avoid any image compression that changes any pixel colors.


Login to post a reply

Server time is: 2020-09-24 21:20:57
Your offset time is: 2020-09-24 21:20:57