Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
8a4417ec
Commit
8a4417ec
authored
Sep 09, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed color for drawing polygons on overlay.
parent
cba1e0bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
opengl_gal.cpp
common/gal/opengl/opengl_gal.cpp
+1
-0
No files found.
common/gal/opengl/opengl_gal.cpp
View file @
8a4417ec
...
@@ -471,6 +471,7 @@ void OPENGL_GAL::DrawPolygon( const std::deque<VECTOR2D>& aPointList )
...
@@ -471,6 +471,7 @@ void OPENGL_GAL::DrawPolygon( const std::deque<VECTOR2D>& aPointList )
// Any non convex polygon needs to be tesselated
// Any non convex polygon needs to be tesselated
// for this purpose the GLU standard functions are used
// for this purpose the GLU standard functions are used
currentManager
->
Shader
(
SHADER_NONE
);
currentManager
->
Shader
(
SHADER_NONE
);
currentManager
->
Color
(
fillColor
.
r
,
fillColor
.
g
,
fillColor
.
b
,
fillColor
.
a
);
TessParams
params
=
{
currentManager
,
tessIntersects
};
TessParams
params
=
{
currentManager
,
tessIntersects
};
gluTessBeginPolygon
(
tesselator
,
&
params
);
gluTessBeginPolygon
(
tesselator
,
&
params
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment