Skip to content

Commit

Permalink
Added missing files to premake
Browse files Browse the repository at this point in the history
- Also added a missing function to null platform
  • Loading branch information
TheCherno committed Feb 22, 2022
1 parent d710a03 commit aa91434
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@ project "GLFW"
"src/init.c",
"src/input.c",
"src/monitor.c",

"src/null_init.c",
"src/null_joystick.c",
"src/null_monitor.c",
"src/null_window.c",

"src/platform.c",
"src/vulkan.c",
"src/window.c"
"src/window.c",
}

filter "system:linux"
pic "On"

Expand Down Expand Up @@ -49,6 +57,7 @@ project "GLFW"
{
"src/win32_init.c",
"src/win32_joystick.c",
"src/win32_module.c",
"src/win32_monitor.c",
"src/win32_time.c",
"src/win32_thread.c",
Expand Down
1 change: 1 addition & 0 deletions src/null_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ GLFWbool _glfwConnectNull(int platformID, _GLFWplatform* platform)
_glfwWaitEventsNull,
_glfwWaitEventsTimeoutNull,
_glfwPostEmptyEventNull,
_glfwSetWindowTitlebarNull,
_glfwGetEGLPlatformNull,
_glfwGetEGLNativeDisplayNull,
_glfwGetEGLNativeWindowNull,
Expand Down

0 comments on commit aa91434

Please sign in to comment.