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
e7b7e0e6
Commit
e7b7e0e6
authored
Jun 06, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some debug messages.
parent
8742dae4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
opengl_gal.cpp
common/gal/opengl/opengl_gal.cpp
+0
-21
No files found.
common/gal/opengl/opengl_gal.cpp
View file @
e7b7e0e6
...
@@ -588,13 +588,6 @@ inline void OPENGL_GAL::drawLineQuad( const VECTOR2D& aStartPoint, const VECTOR2
...
@@ -588,13 +588,6 @@ inline void OPENGL_GAL::drawLineQuad( const VECTOR2D& aStartPoint, const VECTOR2
double
lineLength
=
startEndVector
.
EuclideanNorm
();
double
lineLength
=
startEndVector
.
EuclideanNorm
();
double
scale
=
0.5
*
lineWidth
/
lineLength
;
double
scale
=
0.5
*
lineWidth
/
lineLength
;
#ifdef __WXDEBUG__
if
(
lineLength
>
0.0
)
{
wxLogDebug
(
wxT
(
"Tried to draw line with length <= 0"
)
);
}
#endif
/* __WXDEBUG__ */
if
(
lineLength
<=
0.0
)
if
(
lineLength
<=
0.0
)
return
;
return
;
...
@@ -1098,13 +1091,6 @@ void OPENGL_GAL::DrawRectangle( const VECTOR2D& aStartPoint, const VECTOR2D& aEn
...
@@ -1098,13 +1091,6 @@ void OPENGL_GAL::DrawRectangle( const VECTOR2D& aStartPoint, const VECTOR2D& aEn
void
OPENGL_GAL
::
DrawCircle
(
const
VECTOR2D
&
aCenterPoint
,
double
aRadius
)
void
OPENGL_GAL
::
DrawCircle
(
const
VECTOR2D
&
aCenterPoint
,
double
aRadius
)
{
{
#ifdef __WXDEBUG__
if
(
aRadius
>
0.0
)
{
wxLogDebug
(
wxT
(
"Tried to draw circle with radius <= 0"
)
);
}
#endif
/* __WXDEBUG__ */
if
(
isUseShader
)
if
(
isUseShader
)
{
{
if
(
isFillEnabled
)
if
(
isFillEnabled
)
...
@@ -1663,13 +1649,6 @@ int OPENGL_GAL::BeginGroup()
...
@@ -1663,13 +1649,6 @@ int OPENGL_GAL::BeginGroup()
void
OPENGL_GAL
::
EndGroup
()
void
OPENGL_GAL
::
EndGroup
()
{
{
#ifdef __WXDEBUG__
if
(
curVboItem
->
GetSize
()
!=
0
)
{
wxLogDebug
(
wxT
(
"Tried to add group that contains nothing"
)
);
}
#endif
/* __WXDEBUG__ */
vboSize
+=
curVboItem
->
GetSize
();
vboSize
+=
curVboItem
->
GetSize
();
curVboItem
=
NULL
;
curVboItem
=
NULL
;
isGrouping
=
false
;
isGrouping
=
false
;
...
...
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