yvanvds
Member
|
D.deviceName() has no result
Hello again.
I just tried to use D.deviceName() and D.shaderModel() at the start of my program to write some info to a logfile. But to my surprise deviceName returns an empty string, and shaderModel returns SM_UNKNOWN. I am using an Nvidea GeForce 9600 GT gpu.
I suspect the Sci-Fi benchmark demo uses the same functions, so I tried to download that and double check. But the download was imcomplete. (very strange, every time i tried to download it was a few megabytes bigger, but still incomplete.)
Is there anything I should initialize before using these functions?
Regards,
yvan
|
|
05-02-2011 01:09 PM |
|
Esenthel
Administrator
|
RE: D.deviceName() has no result
probably you're calling this in InitPre, try calling this in Init
(I'm uploading the files right now)
|
|
05-02-2011 01:11 PM |
|
yvanvds
Member
|
RE: D.deviceName() has no result
Ah yes, that solves it. Thanks!
|
|
05-02-2011 01:58 PM |
|