LWJGL / lwjgl3

LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
https://www.lwjgl.org
BSD 3-Clause "New" or "Revised" License
4.67k stars 631 forks source link

Use of deprecated extension EXT_debug_report in HelloVulkan.java #820

Closed programmer3481 closed 1 year ago

programmer3481 commented 1 year ago

Question

HelloVulkan.java uses the extension EXT_debug_report, which was deprecated in favor EXT_debug_utils. Should it be changed to use the new extension?

I could write a pull request to port it, but I was wondering if there was any particular reason to be keep using EXT_debug_report. Note that vulkan_triangle.c(HelloVulkan.java has a broken link to by the way), which is the original GLFW code HelloVulkan.java was ported from, is still using the older debug extension.

Spasi commented 1 year ago

Hey @programmer3481, done!

Btw, HelloVulkan is indeed a port from an old C demo and not really representative of how LWJGL+Vulkan code should be written. I highly recommend checking out @httpdigest's excellent Vulkan demos in lwjgl3-demos.