diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-15 22:06:56 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-15 22:06:56 +0200 |
commit | c78cb17e2a8055f71d210e719e72ace7e9fb7b2e (patch) | |
tree | b763599952d8ae94f6b32f1f2f5aea87e4f764fa /src/blueshift_w32gdi.pyx | |
parent | Cython side of Windows GDI support (diff) | |
download | blueshift-c78cb17e2a8055f71d210e719e72ace7e9fb7b2e.tar.gz blueshift-c78cb17e2a8055f71d210e719e72ace7e9fb7b2e.tar.bz2 blueshift-c78cb17e2a8055f71d210e719e72ace7e9fb7b2e.tar.xz |
fix errors and warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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 |