• Sean McBride's avatar
    Add asserts to silence clang analyzer warning · 364f7a5f
    Sean McBride authored
    If the while loop executes 0 times, an undefined
    negative bit shift would occur.
    
    Also eliminate ugly cast with simpler constant declaration.
    
    Change-Id: I91237652bf25e0de86b445b77d1760d53d0813b4
    364f7a5f
vtkOpenGLImageMapper.cxx 20.8 KB