Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Romin Tomasetti
gmsh
Commits
2b90882f
Commit
2b90882f
authored
12 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
8ef1ee8c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Common/CreateFile.cpp
+4
-5
4 additions, 5 deletions
Common/CreateFile.cpp
with
4 additions
and
5 deletions
Common/CreateFile.cpp
+
4
−
5
View file @
2b90882f
...
@@ -152,11 +152,10 @@ static PixelBuffer *GetCompositePixelBuffer(GLenum format, GLenum type)
...
@@ -152,11 +152,10 @@ static PixelBuffer *GetCompositePixelBuffer(GLenum format, GLenum type)
(
FlGui
::
instance
()
->
getCurrentOpenglWindow
()
->
getDrawContext
());
(
FlGui
::
instance
()
->
getCurrentOpenglWindow
()
->
getDrawContext
());
newg
->
show
();
newg
->
show
();
openglWindow
::
setLastHandled
(
newg
);
openglWindow
::
setLastHandled
(
newg
);
//waiting for the os to really make the window visible and to call the "draw" function
// waiting for the OS to really make the window visible and to call the
//on (some ?) linux if we do not wait here, the window is not ready
// draw() function on (some ?) linux; if we do not wait here, the window is
//and the picture cannot be generated
// not ready and the picture cannot be generated
while
(
!
newg
->
valid
())
while
(
!
newg
->
valid
())
Fl
::
wait
();
Fl
::
wait
();
}
}
PixelBuffer
*
buffer
;
PixelBuffer
*
buffer
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment