Exemple #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))
}
Exemple #2
0
// Gamma ramp functions
func SetGamma(gamma float32) { C.glfwSetGamma(C.float(gamma)) }