Re: [Kicad-developers] [PATCH]/Question TITLE_BLOCK tests

2018-10-13 Thread John Beard
Hi Wayne, I understand the problems with linking when units are involved. This particular test executable defines GERBVIEW to satisfy the need to have a valid #define set in convert_to_biu.h. It doesn't actually use any unit code directly. TITLE_BLOCK is just a few strings in a class, but somehow

Re: [Kicad-developers] Something odd with Eeschema GAL

2018-10-13 Thread Jeff Young
Evidently OpenGL doesn’t guarantee drawing the FBOs in the same order they were painted in. So I fixed this by putting an AdvanceDepth() call between drawing background objects (ie: those with a bodybackground fill) and foreground ones. I’ve also turned caching back on. Cheers, Jeff. > On

Re: [Kicad-developers] Compile errors in new shaders

2018-10-13 Thread Jeff Young
Yes, it appears “switch” was the only usage out of V130. I’ve put it back to cascaded if-then-elses and V120. (I also left the compile error reporting stuff in as it may come in handy in the future.) The new grid dots are a HUGE improvement. However, lots of us bumped the dots up to 3 or 5

Re: [Kicad-developers] Compile errors in new shaders

2018-10-13 Thread Jeff Young
I discovered glGetShaderInfoLog(). It gives me: ERROR: 0:29: '' : version '130' is not supported ERROR: 0:82: 'switch' : Reserved word. ERROR: 0:82: 'switch' : syntax error: syntax error Is switch the only thing we’re using from V130? (I’ll go ahead and give it a try without switch and see