aboutsummaryrefslogtreecommitdiffstats
path: root/src/vidmode.h
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2010-05-24 18:12:36 +0200
committerJon Lund Steffensen <jonlst@gmail.com>2010-05-24 18:12:36 +0200
commit6f044ccad32c653469e7a90dfaa0b72143bf2b01 (patch)
tree7a0cdd64296f0986aec621511035897f1cc0883e /src/vidmode.h
parentUpdate NEWS for 1.3 release. (diff)
downloadredshift-ng-6f044ccad32c653469e7a90dfaa0b72143bf2b01.tar.gz
redshift-ng-6f044ccad32c653469e7a90dfaa0b72143bf2b01.tar.bz2
redshift-ng-6f044ccad32c653469e7a90dfaa0b72143bf2b01.tar.xz
Use gamma_method_spec_t struct to control and iterate through different
gamma adjustment methods.
Diffstat (limited to 'src/vidmode.h')
-rw-r--r--src/vidmode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vidmode.h b/src/vidmode.h
index 9503441..7a11099 100644
--- a/src/vidmode.h
+++ b/src/vidmode.h
@@ -31,7 +31,7 @@ typedef struct {
uint16_t *saved_ramps;
} vidmode_state_t;
-int vidmode_init(vidmode_state_t *state, int screen_num);
+int vidmode_init(vidmode_state_t *state, int screen_num, int crtc_num);
void vidmode_free(vidmode_state_t *state);
void vidmode_restore(vidmode_state_t *state);
int vidmode_set_temperature(vidmode_state_t *state, int temp, float gamma[3]);