Commit 826c0219 authored by Lukáš Tvrdý's avatar Lukáš Tvrdý

Fix PVS warning

V501 There are identical sub-expressions 'k_glGetSynciv == 0' to the left and to the right of the '||' operator. kis_opengl_canvas2_p.h 344
parent 216a8d41
......@@ -341,7 +341,7 @@ namespace Sync {
k_glDeleteSync = (kis_glDeleteSync)VSyncWorkaround::qglx_getProcAddress("glDeleteSync");
}
#endif
if (k_glFenceSync == 0 || k_glGetSynciv == 0 || k_glGetSynciv == 0) {
if (k_glFenceSync == 0 || k_glGetSynciv == 0 || k_glDeleteSync == 0) {
qWarning("Could not find sync functions, disabling sync notification.");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment