mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/thread: Refactoring
This commit is contained in:
parent
49c3c30c79
commit
43c964a3b8
@ -73,7 +73,7 @@ func (t *OSThread) Call(f func() error) error {
|
||||
type NoopThread struct{}
|
||||
|
||||
// NewNoopThread creates a new thread that does no threading.
|
||||
func NewNoopThread() Thread {
|
||||
func NewNoopThread() *NoopThread {
|
||||
return &NoopThread{}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user