Commit a8974f05 authored by Patrick Elsässer's avatar Patrick Elsässer Committed by bunnei
Browse files

video_core: Arithmetic overflow warning fix for gl_rasterizer (#1262)

* video_core: Arithmetic overflow fix for gl_rasterizer

- Fixed warnings, which were indicating incorrect behavior from integral
promotion rules and types larger than those in which arithmetic is
typically performed.

- Added const for variables where possible and meaningful.

* Changed the casts from C to C++ style

Changed the C-style casts to C++ casts as proposed.
Took also care about signed / unsigned behaviour.
parent 460ebc81
Supports Markdown
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