Hey everyone, I’m having an issue with a function in Panda3d… It seems to return 0 for no apparent reason.
I’ve tried replicating the issue with a simplified piece of code, which produces the result I was receiving. Thanks for any help!
It seems this function isn’t implemented everywhere. It only seems to be implemented on Windows when setting “request-dxdisplay-information true” in Config.prc, but I don’t recommend setting it as it will slow down the startup process.
What exactly are you after? Perhaps base.pipe.getDisplayWidth() is more useful?