OSVR / OSVR-Unity-Rendering

Rendering plugin for Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build warning

rpavlik opened this issue · comments

OSVR-Unity-Rendering/OsvrRenderingPlugin.cpp:590:19: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (index < 0 || index >= getNumRenderInfo()) {
            ~~~~~ ^ ~

Think the meaningless compare can just be removed. This is branch d3d_capi