diff options
Diffstat (limited to 'src/blueshift_w32gdi.pyx')
-rw-r--r-- | src/blueshift_w32gdi.pyx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blueshift_w32gdi.pyx b/src/blueshift_w32gdi.pyx index 753bd1c..25e12b8 100644 --- a/src/blueshift_w32gdi.pyx +++ b/src/blueshift_w32gdi.pyx @@ -92,7 +92,7 @@ def w32gdi_read(int use_crtc): ''' cdef uint16_t* got # Read the current curves - got = blueshift_w32_read(use_crtc) + got = blueshift_w32gdi_read(use_crtc) if got is NULL: raise Exception() # Convert to Python integer lists @@ -127,7 +127,7 @@ def w32gdi_apply(crtc_indices, r_curve, g_curve, b_curve): # For each selected CRTC, for crtc_index in crtc_indices: # apply curves. - rc |= blueshift_w32gdi_apply(crtc_index, r_c, g_c, b_c) + rc |= blueshift_w32gdi_apply(crtc_index, rgb_c) return rc |