BeRo1985 / pasvulkan

Vulkan header generator, OOP-style API wrapper, framework and prospective Vulkan-based game engine for Object Pascal
zlib License
191 stars 30 forks source link

HMonitor ref in vulkan.pas and many duplicate constructors #18

Closed johnhutch111 closed 3 years ago

johnhutch111 commented 3 years ago

I have just started to use this library. Looks good! I am using Delphi XE8.

However on first compile I need to include the Multimon unit to complete the compile to resolve the ref to HMonitor. I can add this to the Vulkan.pas unit.

Also the compiler reports Duplicate constructor W1029 warnings for lots of objects.
For example TpvVulkanTexture.CreateFromImage.

Any suggestions?

John

BeRo1985 commented 3 years ago

You can ignore the warnings as they mostly apply only to the Delphi <=> C++ Builder interaction capability, which aren't supported by PasVulkan anyway.

And PasVulkan actually targets only the respectively latest Delphi stable versions and FreePascal SVN Trunk unstable versions, since PasVulkan is a moving-target bleeding-edge project, where even stable FreePascal release versions are often already too old, because they are missing often something.