FunkyFr3sh / cnc-ddraw

GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines
https://discord.gg/afWXJNDDF5
MIT License
2.13k stars 143 forks source link

No fps limit with vsync? #245

Closed Mitradis closed 9 months ago

Mitradis commented 9 months ago

No fps limit with vsync? I trying set 30fps and cant get.

FunkyFr3sh commented 9 months ago

yeah, "maxfps" is ignored when vsync is enabled. I could enable it, but why would you need it?

GPU usage is very low with cnc-ddraw (even on old hardware you don't have more than 10%).

Tell me a good reason why anyone would need this and I might add support for it!

Mitradis commented 9 months ago

Because need, many reasons. All wrappers have limit - this is BASIC function. Can you add, please?

FunkyFr3sh commented 9 months ago

Yes, it's easy to add so I just did quick

cnc-ddraw.zip