Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Tusooa Zhu
Krita
Commits
10b8b89e
Commit
10b8b89e
authored
Aug 14, 2015
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unbreak build with HAVE_OPENGL undefined
fixup for cf69d1e294ceb63cfbadbff95836433c2314cf21
parent
b47b65b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
krita/ui/opengl/kis_opengl.cpp
krita/ui/opengl/kis_opengl.cpp
+3
-0
No files found.
krita/ui/opengl/kis_opengl.cpp
View file @
10b8b89e
...
...
@@ -68,9 +68,11 @@ void KisOpenGL::initialize()
}
format
.
setSwapInterval
(
0
);
// Disable vertical refresh syncing
QSurfaceFormat
::
setDefaultFormat
(
format
);
#endif
}
int
KisOpenGL
::
initializeContext
(
QOpenGLContext
*
s
)
{
#ifdef HAVE_OPENGL
KisConfig
cfg
;
dbgUI
<<
"OpenGL: Opening new context"
;
...
...
@@ -115,6 +117,7 @@ int KisOpenGL::initializeContext(QOpenGLContext* s) {
NeedsFenceWorkaround
=
true
;
}
#else
Q_UNUSED
(
s
);
NeedsFenceWorkaround
=
false
;
#endif
return
glVersion
;
...
...
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