diff --git a/internal/glfwwin/monitor_windows.go b/internal/glfwwin/monitor_windows.go index 144858cbc..7376b65c2 100644 --- a/internal/glfwwin/monitor_windows.go +++ b/internal/glfwwin/monitor_windows.go @@ -25,7 +25,6 @@ package glfwwin import ( "sort" - "unsafe" ) func abs(x int) uint { @@ -257,19 +256,8 @@ func (m *Monitor) GetName() (string, error) { return m.name, nil } -func (m *Monitor) SetUserPointer(pointer unsafe.Pointer) error { - if !_glfw.initialized { - return NotInitialized - } - panic("glfwwin: Monitor.SetUserPointer is not implemented") -} - -func (m *Monitor) GetUserPointer() (unsafe.Pointer, error) { - if !_glfw.initialized { - return nil, NotInitialized - } - panic("glfwwin: Monitor.GetUserPointer is not implemented") -} +// SetUserPointer is not implemented. +// GetUserPointer is not implemented. func SetMonitorCallback(cbfun MonitorCallback) (MonitorCallback, error) { if !_glfw.initialized { @@ -295,14 +283,6 @@ func (m *Monitor) GetVideoMode() (*VidMode, error) { return m.currentMode, nil } -func (m *Monitor) SetGamma(gamma float32) { - panic("glfwwin: Monitor.SetGamma is not implemented") -} - -func (m *Monitor) GetGammaRamp() *GammaRamp { - panic("glfwwin: Monitor.GetGammaRamp is not implemented") -} - -func (m *Monitor) SetGammaRamp(ramp *GammaRamp) { - panic("glfwwin: Monitor.SetGammaRamp is not implemented") -} +// SetGamma is not implemented. +// GetGammaRamp is not implemented. +// SetGammaRamp is not implemented. diff --git a/internal/glfwwin/window_windows.go b/internal/glfwwin/window_windows.go index aacb993eb..2a2d3e96f 100644 --- a/internal/glfwwin/window_windows.go +++ b/internal/glfwwin/window_windows.go @@ -317,9 +317,7 @@ func WindowHint(hint Hint, value int) error { return nil } -func WindowHintString(hint Hint, value string) { - panic("glfwwin: WindowHintString is not implemented") -} +// WindowHintString is not implemented. func (w *Window) Destroy() error { if !_glfw.initialized {