mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 22:40:29 +02:00
Global: Fix some type conversion warnings.
Hidden by some warning disables.
This commit is contained in:
1 parent
5e185f3d87
commit
3df6cb704f
18 files changed
+41
-39
No files matched your search
@@ -148,7 +148,7 @@ void DrawBuffer::RectOutline(float x, float y, float w, float h, uint32_t color,
|
||||
void DrawBuffer::MultiVGradient(float x, float y, float w, float h, GradientStop *stops, int numStops) {
|
||||
for (int i = 0; i < numStops - 1; i++) {
|
||||
float t0 = stops[i].t, t1 = stops[i+1].t;
|
||||
uint32_t c0 = stops[i].t, c1 = stops[i+1].t;
|
||||
uint32_t c0 = stops[i].color, c1 = stops[i+1].color;
|
||||
RectVGradient(x, y + h * t0, w, h * (t1 - t0), c0, c1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user