mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
internal/glfwwin: remove unused exported functions
This commit is contained in:
parent
3a6b707b29
commit
df0208ec79
@ -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.
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user