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 / Error when running?

Author
Message
Mister Fuzzy
13
Years of Service
User Offline
Joined: 27th Feb 2011
Location: XNA
Posted: 19th Oct 2011 05:39 Edited at: 19th Oct 2011 07:34
For some strange reason, my programs give me the error message "EROOR: Invalid Bit Depth Specified" all of a sudden: I haven't changed anything in my environment, and I've reinstalled VC++ 2008 an DGDK twice over now, and the issue won't go away! What happened?!?
Mr Bigglesworth
16
Years of Service
User Offline
Joined: 4th Mar 2008
Location:
Posted: 19th Oct 2011 11:30
When you have the command "dbSetDisplayMode( Width, Height, Depth);" if the "Depth" part is anything other than 16 or 32 it will throw that error.
Mister Fuzzy
13
Years of Service
User Offline
Joined: 27th Feb 2011
Location: XNA
Posted: 23rd Oct 2011 19:05 Edited at: 23rd Oct 2011 19:05
I WISH that was the problem... Actually, the program gives me that error when starting up... My program never uses dbSetDisplayMode(W,D,H);. I use 16 bit by default, but it recently began giving me that error for no apparent reason... Maybe a DX problem??? I'll reinstall it to be sure...
Mr Bigglesworth
16
Years of Service
User Offline
Joined: 4th Mar 2008
Location:
Posted: 23rd Oct 2011 21:13
Then try using dbSetDisplayMode and set the depth to 16, if that doesn't work try 32. I think I have had this problem before, I will look through my old projects and see if I can find out what is causing it.
Mister Fuzzy
13
Years of Service
User Offline
Joined: 27th Feb 2011
Location: XNA
Posted: 24th Oct 2011 00:54
AAAAHahahaha! Gotcha! The source for the DXSDK was trying to set the bit depth to 33. How did this happen? Perhaps improper shutdown corrupted the file, and Windows fixed it wrong? Oh well. I don't care how it's fixed, as long as it works. Thanks anyhoo, Bigglesworth!
Mr Bigglesworth
16
Years of Service
User Offline
Joined: 4th Mar 2008
Location:
Posted: 24th Oct 2011 01:11
I wish I figured that out when I had the problem

Login to post a reply

Server time is: 2024-11-19 06:44:54
Your offset time is: 2024-11-19 06:44:54