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
c2fbd42f
Commit
c2fbd42f
authored
Sep 02, 2015
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unbreak build
9f3798be7ca9cbd7ea7e7b0eef4f2dab002b64d8 was not yet complete here
parent
dcc3bb84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
krita/ui/canvas/kis_canvas2.cpp
krita/ui/canvas/kis_canvas2.cpp
+4
-0
No files found.
krita/ui/canvas/kis_canvas2.cpp
View file @
c2fbd42f
...
...
@@ -367,11 +367,15 @@ void KisCanvas2::createQPainterCanvas()
void
KisCanvas2
::
createOpenGLCanvas
()
{
#ifdef HAVE_OPENGL
KisConfig
cfg
;
m_d
->
openGLFilterMode
=
cfg
.
openGLFilteringMode
();
m_d
->
currentCanvasIsOpenGL
=
true
;
KisOpenGLCanvas2
*
canvasWidget
=
new
KisOpenGLCanvas2
(
this
,
m_d
->
coordinatesConverter
,
0
,
m_d
->
view
->
image
(),
m_d
->
displayColorConverter
);
setCanvasWidget
(
canvasWidget
);
#else
qFatal
(
"Bad use of createOpenGLCanvas(). It shouldn't have happened =("
);
#endif
}
void
KisCanvas2
::
createCanvas
(
bool
useOpenGL
)
...
...
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