mirror of
https://github.com/ocornut/imgui.git
synced 2026-08-21 23:01:10 +00:00
Merge branch 'master' into docking
# Conflicts: # examples/example_apple_opengl2/main.mm
This commit is contained in:
@@ -549,7 +549,7 @@ WGPUSurface CreateWGPUSurface(const WGPUInstance& instance, GLFWwindow* window)
|
||||
{
|
||||
create_info.System = "win32";
|
||||
create_info.RawWindow = (void*)glfwGetWin32Window(window);
|
||||
create_info.RawInstance = (void*)::GetModuleHandle(NULL);
|
||||
create_info.RawInstance = (void*)::GetModuleHandle(nullptr);
|
||||
return ImGui_ImplWGPU_CreateWGPUSurfaceHelper(&create_info);
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user