Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
changes to c++ because gcc 4.8 seems to allow things the compiler
on travis will not.
  • Loading branch information
tacaswell committed Sep 30, 2013
commit 6e54d8dc3f6af4a12e27280af2623a246579c3ca
3 changes: 2 additions & 1 deletion src/_backend_agg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,8 @@ RendererAgg::RendererAgg(unsigned int width, unsigned int height, double dpi,
rendererAA(),
rendererBin(),
theRasterizer(),
debug(debug)
debug(debug),
_fill_color(agg::rgba(1, 1, 1, 0))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this value changed from (0, 0, 0, 0) to (1, 1, 1, 0)? This was a change I introduced in d8fce7b which I'm surprised is not triggering some of the tests I added to fail. Would you mind providing some more detail in the description of the PR please?

{
_VERBOSE("RendererAgg::RendererAgg");
unsigned stride(width*4);
Expand Down
2 changes: 1 addition & 1 deletion src/_backend_agg.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class RendererAgg: public Py::PythonExtension<RendererAgg>

const int debug;

agg::rgba _fill_color = agg::rgba(1, 1, 1, 0);
agg::rgba _fill_color;


protected:
Expand Down