Skip to content

Running examples/hello resulted in  error. #130

Description

@jerry9723988

I cloned the repository and ran hello, but encountered the following problems:

  1. The internal interface only refills the window after I release the mouse button when resizing it.

  2. The interface displays incorrectly, as shown in the image below.

  3. The mouse click coordinates are incorrect.

  4. The font is blurry.

  5. Scrolling is incorrect; only the incorrect portion of the scrolling is displayed.

My computer is a Mac Pro M1.

go.mod :

module github.com/gogpu/ui/examples/hello

go 1.25.0

replace github.com/gogpu/ui => ../..

require (
github.com/gogpu/gg v0.48.7
github.com/gogpu/gogpu v0.41.0
github.com/gogpu/ui v0.1.29
)

require (
github.com/coregx/signals v0.1.0 // indirect
github.com/go-text/typesetting v0.3.4 // indirect
github.com/go-webgpu/goffi v0.5.3 // indirect
github.com/go-webgpu/webgpu v0.5.2 // indirect
github.com/gogpu/gpucontext v0.19.0 // indirect
github.com/gogpu/gputypes v0.5.0 // indirect
github.com/gogpu/naga v0.17.13 // indirect
github.com/gogpu/wgpu v0.29.1 // indirect
golang.org/x/image v0.41.0 // indirect
golang.org/x/sys v0.45.0 // indirect
golang.org/x/text v0.37.0 // indirect
)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions