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
38aeb5d3
Commit
38aeb5d3
authored
Jul 21, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed erroneous use of SetCurrent() (only in my last commit)
parent
61aca44b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
3d_canvas.cpp
3d-viewer/3d_canvas.cpp
+1
-1
3d_draw.cpp
3d-viewer/3d_draw.cpp
+1
-1
No files found.
3d-viewer/3d_canvas.cpp
View file @
38aeb5d3
...
...
@@ -81,7 +81,7 @@ Pcb3D_GLCanvas::Pcb3D_GLCanvas( WinEDA3D_DrawFrame* parent ) :
// Make the new context current (activate it for use) with this canvas.
SetCurrent
(
*
m_glRC
);
#else
SetCurrent
(
NULL
);
SetCurrent
(
);
#endif
DisplayStatus
();
}
...
...
3d-viewer/3d_draw.cpp
View file @
38aeb5d3
...
...
@@ -49,7 +49,7 @@ void Pcb3D_GLCanvas::Redraw( bool finish )
#if wxCHECK_VERSION( 2, 9, 0 )
SetCurrent
(
*
m_glRC
);
#else
SetCurrent
(
NULL
);
SetCurrent
(
);
#endif
InitGL
();
...
...
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