Example #1
0
//SetGamma generates a 256-element gamma ramp from the specified exponent and then calls
//SetGamma with it.
func (m *Monitor) SetGamma(gamma float32) {
	C.glfwSetGamma(m.data, C.float(gamma))
}
Example #2
0
File: glfw.go Project: maun/glfw
// Gamma ramp functions
func SetGamma(gamma float32) { C.glfwSetGamma(C.float(gamma)) }