Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnimuc committed Jun 5, 2021
1 parent 5602bb1 commit a005da4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ImGuiGLFWBackend"
uuid = "623d79b3-9695-4e60-bd7e-2a5aabaa6933"
authors = ["Yupei Qi <[email protected]>"]
version = "0.1.1"
version = "0.1.2"

[deps]
GLFW_jll = "0656b61e-2033-5cc2-a64a-77c0f6c09b89"
Expand Down
2 changes: 1 addition & 1 deletion src/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function init(ctx::Context)
main_viewport::Ptr{ImGuiViewport} = igGetMainViewport()
main_viewport.PlatformHandle = Ptr{Cvoid}(ctx.Window)
if Sys.iswindows()
main_viewport.PlatformHandleRaw = ccall((:glfwGetWin32Window, GLFW.libglfw), Ptr{Cvoid}, (Ptr{Cvoid},), ctx.Window)
main_viewport.PlatformHandleRaw = ccall((:glfwGetWin32Window, libglfw), Ptr{Cvoid}, (Ptr{Cvoid},), ctx.Window)
end

if unsafe_load(io.ConfigFlags) & ImGuiConfigFlags_ViewportsEnable == ImGuiConfigFlags_ViewportsEnable
Expand Down

4 comments on commit a005da4

@Gnimuc
Copy link
Member Author

@Gnimuc Gnimuc commented on a005da4 Jun 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/38212

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.2 -m "<description of version>" a005da40908b1d5b1335762ef0723bae570453f8
git push origin v0.1.2

Also, note the warning: Version 0.1.2 skips over 0.1.1
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

@Gnimuc
Copy link
Member Author

@Gnimuc Gnimuc commented on a005da4 Jun 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/38212

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.2 -m "<description of version>" a005da40908b1d5b1335762ef0723bae570453f8
git push origin v0.1.2

Please sign in to comment.