Skip to content

Commit 6f02383

Browse files
authored
Remove vulcan-specific functions from src/library_glfw.js (#19254)
These functions are declared in GLFW/glfw3.h but are inside an `#if defined(VK_VERSION_1_0)` block, and requires a VkInstance type that emscripten doesn't provide, so its not possible enable them at C/C++ compile time.
1 parent 46b4594 commit 6f02383

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/library_glfw.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1733,15 +1733,6 @@ var LibraryGLFW = {
17331733
glfwGetRequiredInstanceExtensions__sig: 'ii',
17341734
glfwGetRequiredInstanceExtensions: function(count) { throw "glfwGetRequiredInstanceExtensions is not implemented."; },
17351735

1736-
glfwGetInstanceProcAddress__sig: 'iii',
1737-
glfwGetInstanceProcAddress: function(instance, procname) { throw "glfwGetInstanceProcAddress is not implemented."; },
1738-
1739-
glfwGetPhysicalDevicePresentationSupport__sig: 'iiii',
1740-
glfwGetPhysicalDevicePresentationSupport: function(instance, device, queuefamily) { throw "glfwGetPhysicalDevicePresentationSupport is not implemented"; },
1741-
1742-
glfwCreateWindowSurface__sig: 'iiiii',
1743-
glfwCreateWindowSurface: function(instance, winid, allocator, surface) { throw "glfwCreateWindowSurface is not implemented."; },
1744-
17451736
glfwJoystickPresent__sig: 'ii',
17461737
glfwJoystickPresent: function(joy) {
17471738
GLFW.refreshJoysticks();

0 commit comments

Comments
 (0)