Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
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
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
59303e35
Commit
59303e35
authored
Mar 13, 2012
by
Campbell Barton
Browse files
Options
Downloads
Patches
Plain Diff
WITH_GHOST_SDL working again (missing std:: update)
parent
f34c3580
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+5
-0
5 additions, 0 deletions
CMakeLists.txt
intern/ghost/intern/GHOST_SystemSDL.cpp
+5
-5
5 additions, 5 deletions
intern/ghost/intern/GHOST_SystemSDL.cpp
with
10 additions
and
5 deletions
CMakeLists.txt
+
5
−
0
View file @
59303e35
...
...
@@ -358,6 +358,11 @@ if(WITH_INSTALL_PORTABLE)
set
(
CMAKE_SKIP_BUILD_RPATH TRUE
)
endif
()
if
(
WITH_GHOST_SDL OR WITH_HEADLESS
)
set
(
WITH_GHOST_XDND OFF
)
endif
()
#-----------------------------------------------------------------------------
# Initialize un-cached vars, avoid unused warning
...
...
This diff is collapsed.
Click to expand it.
intern/ghost/intern/GHOST_SystemSDL.cpp
+
5
−
5
View file @
59303e35
...
...
@@ -481,8 +481,8 @@ GHOST_SystemSDL::setCursorPosition(GHOST_TInt32 x,
bool
GHOST_SystemSDL
::
generateWindowExposeEvents
()
{
vector
<
GHOST_WindowSDL
*>::
iterator
w_start
=
m_dirty_windows
.
begin
();
vector
<
GHOST_WindowSDL
*>::
const_iterator
w_end
=
m_dirty_windows
.
end
();
std
::
vector
<
GHOST_WindowSDL
*>::
iterator
w_start
=
m_dirty_windows
.
begin
();
std
::
vector
<
GHOST_WindowSDL
*>::
const_iterator
w_end
=
m_dirty_windows
.
end
();
bool
anyProcessed
=
false
;
for
(;
w_start
!=
w_end
;
++
w_start
)
{
...
...
@@ -563,10 +563,10 @@ GHOST_SystemSDL::findGhostWindow(SDL_Window *sdl_win)
// We should always check the window manager's list of windows
// and only process events on these windows.
vector
<
GHOST_IWindow
*>
&
win_vec
=
m_windowManager
->
getWindows
();
std
::
vector
<
GHOST_IWindow
*>
&
win_vec
=
m_windowManager
->
getWindows
();
vector
<
GHOST_IWindow
*>::
iterator
win_it
=
win_vec
.
begin
();
vector
<
GHOST_IWindow
*>::
const_iterator
win_end
=
win_vec
.
end
();
std
::
vector
<
GHOST_IWindow
*>::
iterator
win_it
=
win_vec
.
begin
();
std
::
vector
<
GHOST_IWindow
*>::
const_iterator
win_end
=
win_vec
.
end
();
for
(;
win_it
!=
win_end
;
++
win_it
)
{
GHOST_WindowSDL
*
window
=
static_cast
<
GHOST_WindowSDL
*>
(
*
win_it
);
...
...
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