comparison Framework/Viewport/SdlViewport.h @ 1332:be614695747d broker

std::string in viewport ctor
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 31 Mar 2020 10:59:00 +0200
parents ab81ee8fce1f
children 32272ecfc6c2
comparison
equal deleted inserted replaced
1331:ab81ee8fce1f 1332:be614695747d
133 { 133 {
134 private: 134 private:
135 SdlOpenGLContext context_; 135 SdlOpenGLContext context_;
136 136
137 private: 137 private:
138 SdlOpenGLViewport(const char* title, 138 SdlOpenGLViewport(const std::string& title,
139 unsigned int width, 139 unsigned int width,
140 unsigned int height, 140 unsigned int height,
141 bool allowDpiScaling = true); 141 bool allowDpiScaling = true);
142 public: 142 public:
143 static boost::shared_ptr<SdlOpenGLViewport> Create(const char* title, 143 static boost::shared_ptr<SdlOpenGLViewport> Create(const std::string&,
144 unsigned int width, 144 unsigned int width,
145 unsigned int height, 145 unsigned int height,
146 bool allowDpiScaling = true); 146 bool allowDpiScaling = true);
147 147
148 148