Re: subscribe



Hi
   I'm trying to fix the scaler's pathological behaviour when reducing
by a very large factor
https://bugzilla.gnome.org/show_bug.cgi?id=80925
by doing very large reductions in two steps, but I have a compilation
error that I can't figure out.

   I've included in gdk-pixbuf/pixops/pixops.c a global variable used
by its testsuite to disable the two-step optimization:
  gboolean _gdk_disable_two_step_scaler = 0;
which I successfully use in that file:
  if (!_gdk_disable_two_step_scaler)
but when I try to access it from the testsuite in tests/pixbuf-scale-two-step.c:
  extern gboolean _gdk_disable_two_step_scaler;
  ...
 _gdk_disable_two_step_scaler = 1;
it is not found:
  .../gdk-pixbuf/tests/pixbuf-scale-two-step.c:120: undefined
reference to `_gdk_disable_two_step_scaler'

Any ideas why?

    M

On 01/12/2016, Martin Guy <martinwguy gmail com> wrote:




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]