Index: ppapi/examples/compositor/compositor.cc |
diff --git a/ppapi/examples/compositor/compositor.cc b/ppapi/examples/compositor/compositor.cc |
index d437bc84b77aa894aafa3d744986be980d43a7fc..360bfba9a08ee48343dd3037803419ffb78f9539 100644 |
--- a/ppapi/examples/compositor/compositor.cc |
+++ b/ppapi/examples/compositor/compositor.cc |
@@ -309,8 +309,8 @@ void DemoInstance::Paint(int32_t result, int32_t frame) { |
float x = frame % 800; |
float y = 200 - 200 * factor_sin; |
const float transform[16] = { |
- fabs(factor_sin) + 0.2f, 0.0f, 0.0f, 0.0f, |
- 0.0f, fabs(factor_sin) + 0.2f, 0.0f, 0.0f, |
+ fabsf(factor_sin) + 0.2f, 0.0f, 0.0f, 0.0f, |
+ 0.0f, fabsf(factor_sin) + 0.2f, 0.0f, 0.0f, |
dmichael (off chromium)
2014/06/17 16:16:00
factor_sin is a float, and fabs is supposed to hav
|
0.0f, 0.0f, 1.0f, 0.0f, |
x, y, 0.0f, 1.0f, |
}; |