diff options
Diffstat (limited to 'src/client/renderingengine.cpp')
-rw-r--r-- | src/client/renderingengine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/renderingengine.cpp b/src/client/renderingengine.cpp index ce8f643b9..21af8948a 100644 --- a/src/client/renderingengine.cpp +++ b/src/client/renderingengine.cpp @@ -419,8 +419,7 @@ std::vector<core::vector3d<u32>> RenderingEngine::getSupportedVideoModes() for (s32 i = 0; i != num_modes; i++) { core::dimension2d<u32> mode_res = modelist->getVideoModeResolution(i); u32 mode_depth = (u32)modelist->getVideoModeDepth(i); - mlist.push_back(core::vector3d<u32>( - mode_res.Width, mode_res.Height, mode_depth)); + mlist.emplace_back(mode_res.Width, mode_res.Height, mode_depth); } nulldevice->drop(); |