diff options
| author | Colin Snover | 2017-11-20 10:22:40 -0600 |
|---|---|---|
| committer | Colin Snover | 2017-12-01 19:22:24 -0600 |
| commit | 02614f2f1ac9ee1150f165df34546490612153aa (patch) | |
| tree | 04e2af9057d5cc53538ab25036af27d00664338c /backends/graphics/opengl/pipelines/shader.h | |
| parent | 9a36870e78cd678842384d1beadc74115d9c232d (diff) | |
| download | scummvm-rg350-02614f2f1ac9ee1150f165df34546490612153aa.tar.gz scummvm-rg350-02614f2f1ac9ee1150f165df34546490612153aa.tar.bz2 scummvm-rg350-02614f2f1ac9ee1150f165df34546490612153aa.zip | |
COMMON: Fix UB shifting negative integers
Compilers optimise these back into shifts on architectures where
shifts of negative integers work the same as mul/div, so this
solves the UB without actually causing any performance issue.
Diffstat (limited to 'backends/graphics/opengl/pipelines/shader.h')
0 files changed, 0 insertions, 0 deletions
