mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-05 02:20:11 -05:00
Replacing const std::string with const char* to reduce binary size and initialization costs
This commit is contained in:
@@ -33,10 +33,11 @@
|
||||
#include <openspace/engine/wrapper/windowwrapper.h>
|
||||
|
||||
namespace openspace {
|
||||
|
||||
ScreenSpaceFramebuffer::ScreenSpaceFramebuffer(const ghoul::Dictionary& dictionary)
|
||||
:ScreenSpaceRenderable(dictionary)
|
||||
,_size("size", "Size", glm::vec4(0), glm::vec4(0), glm::vec4(2000))
|
||||
,_framebuffer(nullptr)
|
||||
: ScreenSpaceRenderable(dictionary)
|
||||
, _size("size", "Size", glm::vec4(0), glm::vec4(0), glm::vec4(2000))
|
||||
, _framebuffer(nullptr)
|
||||
{
|
||||
_id = id();
|
||||
setName("ScreenSpaceFramebuffer" + std::to_string(_id));
|
||||
|
||||
Reference in New Issue
Block a user