OPENGL_GAL::ClearScreen(color) doesn't set color
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Low
|
Maciej Suminski |
Bug Description
I'm trying to make pcbnew background color configurable, and running into an issue. The background color is passed to GAL::ClearScreen(), but this doesn't appear to work for OPENGL_GAL.
Trivial test is to change line 187 (inside GetBackgroundColor) of include/painter.h to something silly like:
return RED;
Works in Cairo, but in OpenGL the background is still black.
Application: kicad
Version: (2017-03-01 revision 9f1e15475)-master, debug build
Libraries: wxWidgets 3.0.2
Platform: Linux 4.9.11-1-ARCH x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.63.0
Curl: 7.52.1
KiCad - Compiler: GCC 6.3.1 with C++ ABI 1010
Settings: USE_WX_
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Fixed in revision ca985791bcd647d 380069fc56c79fe 04c171e156 /git.launchpad. net/kicad/ patch/? id=ca985791bcd6 47d380069fc56c7 9fe04c171e156
https:/