Added Traits::getContextVersion(uint,uint)

This commit is contained in:
Robert Osfield
2012-03-21 11:36:54 +00:00
parent cee53f6adc
commit c3a0a8ddc3
3 changed files with 17 additions and 6 deletions

View File

@@ -123,7 +123,9 @@ class OSG_EXPORT GraphicsContext : public Object
std::string glContextVersion;
unsigned int glContextFlags;
unsigned int glContextProfileMask;
/** return true if glContextVersion is set in the form major.minor, and assign the appropriate major and minor values to the associated parameters.*/
bool getContextVersion(unsigned int& major, unsigned int& minor) const;
// shared context
GraphicsContext* sharedContext;