diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-05-08 16:29:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-05-08 16:29:18 +0200 |
commit | d939dd05e1fad24820bcee4142a5fca482dbbfb7 (patch) | |
tree | 2447df3fba8d1ae97c0152bd784fe9d0c0f1ab5b /src/lib/gamma-dummy.c.gpp | |
parent | update todo (diff) | |
download | libgamma-d939dd05e1fad24820bcee4142a5fca482dbbfb7.tar.gz libgamma-d939dd05e1fad24820bcee4142a5fca482dbbfb7.tar.bz2 libgamma-d939dd05e1fad24820bcee4142a5fca482dbbfb7.tar.xz |
add auto_restore to method caps
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/lib/gamma-dummy.c.gpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/gamma-dummy.c.gpp b/src/lib/gamma-dummy.c.gpp index 96bfcc7..2c89b45 100644 --- a/src/lib/gamma-dummy.c.gpp +++ b/src/lib/gamma-dummy.c.gpp @@ -295,9 +295,11 @@ static libgamma_dummy_configurations_t libgamma_dummy_configurations = */ void libgamma_dummy_method_capabilities(libgamma_method_capabilities_t* restrict this) { + int real_method = libgamma_dummy_configurations.real_method; *this = libgamma_dummy_configurations.capabilities; - this->real = libgamma_dummy_configurations.real_method != LIBGAMMA_METHOD_DUMMY; + this->real = real_method != LIBGAMMA_METHOD_DUMMY; this->fake = this->real; + this->auto_restore = real_method == LIBGAMMA_METHOD_QUARTZ_CORE_GRAPHICS; } |