Compare commits
No commits in common. "9307280c91a577c30242886bcd27fc30a34635bb" and "98f3e740e6aebabafdca704ddbfdad42bc70adaf" have entirely different histories.
9307280c91
...
98f3e740e6
|
@ -208,17 +208,6 @@ func (w *Window) Update() {
|
||||||
w.UpdateInput()
|
w.UpdateInput()
|
||||||
}
|
}
|
||||||
|
|
||||||
// ClipboardText returns the current value of the systems clipboard.
|
|
||||||
func (w *Window) ClipboardText() string {
|
|
||||||
return w.window.GetClipboardString()
|
|
||||||
}
|
|
||||||
|
|
||||||
// SetClipboardText passes the given string to the underlying glfw window to set the
|
|
||||||
// systems clipboard.
|
|
||||||
func (w *Window) SetClipboardText(text string) {
|
|
||||||
w.window.SetClipboardString(text)
|
|
||||||
}
|
|
||||||
|
|
||||||
// SwapBuffers swaps buffers. Call this to swap buffers without polling window events.
|
// SwapBuffers swaps buffers. Call this to swap buffers without polling window events.
|
||||||
// Note that Update invokes SwapBuffers.
|
// Note that Update invokes SwapBuffers.
|
||||||
func (w *Window) SwapBuffers() {
|
func (w *Window) SwapBuffers() {
|
||||||
|
|
Loading…
Reference in New Issue