| | 208 | |
| | 209 | /** Set the hint of which OpenGL version to attempt to create a graphics context for.*/ |
| | 210 | void setGLContextVersion(const std::string& version) { _glContextVersion = version; } |
| | 211 | |
| | 212 | /** Get the hint of which OpenGL version to attempt to create a graphics context for.*/ |
| | 213 | const std::string getGLContextVersion() const { return _glContextVersion; } |
| | 214 | |
| | 215 | /** Set the hint of the flags to use in when creating graphic contexts.*/ |
| | 216 | void setGLContextFlags(unsigned int flags) { _glContextFlags = flags; } |
| | 217 | |
| | 218 | /** Get the hint of the flags to use in when creating graphic contexts.*/ |
| | 219 | unsigned int getGLContextFlags() const { return _glContextFlags; } |
| | 220 | |
| | 221 | /** Set the hint of the profile mask to use in when creating graphic contexts.*/ |
| | 222 | void setGLContextProfileMask(unsigned int mask) { _glContextProfileMask = mask; } |
| | 223 | |
| | 224 | /** Get the hint of the profile mask to use in when creating graphic contexts.*/ |
| | 225 | unsigned int getGLContextProfileMask() const { return _glContextProfileMask; } |