Skip to content

Commit

Permalink
Fix clang compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrosKataras committed Aug 7, 2018
1 parent 267e20d commit 71ec4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cinder/app/linux/RendererGlLinuxHeadless.cpp
Expand Up @@ -85,7 +85,7 @@ bool RendererGlLinux::initialize( ci::ivec2 renderSize, RendererRef sharedRender
if( ! eglQueryDevicesEXT || ! eglQueryDevicesEXT( 0, nullptr, &numDevices ) || numDevices < 1 )
return false;

std::vector<EGLDeviceEXT> devices{ numDevices };
std::vector<EGLDeviceEXT> devices( numDevices );
if( ! eglQueryDevicesEXT( numDevices, devices.data(), &numDevices ) || numDevices < 1 )
return false;

Expand Down

0 comments on commit 71ec4c8

Please sign in to comment.