summaryrefslogtreecommitdiff
path: root/drivers/gles3
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-04-07 19:22:34 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-04-07 19:24:37 +0200
commitefba539f93bc9800589c03d1538843afed56161e (patch)
tree5792454e5b589f423258e8f8b154df1c3857197f /drivers/gles3
parent12b84eb9f488d28f3b787fd745fd3dcfa254cab6 (diff)
Fix build on older GCC versions
Travis builds would fail with: ./drivers/gles3/rasterizer_storage_gles3.h:1018:19: error: ISO C++ forbids initialization of member 'fixed_fps' [-fpermissive]
Diffstat (limited to 'drivers/gles3')
-rw-r--r--drivers/gles3/rasterizer_storage_gles3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.h b/drivers/gles3/rasterizer_storage_gles3.h
index e376c2c0bb..e4e7c048c4 100644
--- a/drivers/gles3/rasterizer_storage_gles3.h
+++ b/drivers/gles3/rasterizer_storage_gles3.h
@@ -1015,7 +1015,7 @@ public:
uint32_t cycle_number;
- int fixed_fps = 0;
+ int fixed_fps;
bool fractional_delta;
float frame_remainder;