D29684: Improve opengl debug messages
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag added inline comments. INLINE COMMENTS > scene_opengl.cpp:420 > case GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR: > - qCWarning(KWIN_OPENGL, "%#x: %.*s", id, length, message); > + qCWarning(KWIN_OPENGL, "%#x: %.*s", id, length-1, message); > break; Noob question: what is going to happen if `length` is 0? REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D29684 To: apol, #kwin Cc: zzag, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart