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
b1144a86
Commit
b1144a86
authored
Apr 12, 2013
by
Wayne Stambaugh
Committed by
Maciej Suminski
Apr 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wxWidgets 2.8.12 build fix
parent
3412e827
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
opengl_gal.cpp
common/gal/opengl/opengl_gal.cpp
+3
-2
view.cpp
common/view/view.cpp
+1
-1
No files found.
common/gal/opengl/opengl_gal.cpp
View file @
b1144a86
...
...
@@ -29,6 +29,7 @@
#include <gal/definitions.h>
#include <wx/log.h>
#include <macros.h>
#ifndef CALLBACK
#define CALLBACK
...
...
@@ -256,8 +257,8 @@ void OPENGL_GAL::initGlew()
}
else
{
wxLogDebug
(
wxString
(
"Status: Using GLEW "
)
+
wxString
::
From
UTF8
(
(
char
*
)
glewGetString
(
GLEW_VERSION
)
)
);
wxLogDebug
(
wxString
(
wxT
(
"Status: Using GLEW "
)
)
+
FROM_
UTF8
(
(
char
*
)
glewGetString
(
GLEW_VERSION
)
)
);
}
// Check the OpenGL version (minimum 2.1 is required)
...
...
common/view/view.cpp
View file @
b1144a86
...
...
@@ -429,7 +429,7 @@ void VIEW::redrawRect( const BOX2I& aRect )
prof_end
(
&
totalCycles
);
prof_end
(
&
totalRealTime
);
wxLogDebug
(
"Redraw::items %d (%d cached), %.1f ms/frame (%.0f FPS), draw/geometry ratio: %.1f%%"
,
wxLogDebug
(
wxT
(
"Redraw::items %d (%d cached), %.1f ms/frame (%.0f FPS), draw/geometry ratio: %.1f%%"
)
,
totalItems
,
totalCached
,
(
double
)
totalRealTime
.
value
/
1000.0
,
1000000.0
/
(
double
)
totalRealTime
.
value
,
(
double
)
totalDrawTime
/
(
double
)
totalCycles
.
value
*
100.0
);
...
...
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