X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fdeviceinfo.h;h=8550d85ff75f35061e5c5c8c7f7dbe371d2c24b2;hb=3bc34893905a2df622894aadcb6669f27f186772;hp=1eb120ff2ec509921ed2dfa84fbcbce92393953d;hpb=6353307898cd397e2bcde13e2448a8a678a60004;p=libs%2Fgl.git diff --git a/source/core/deviceinfo.h b/source/core/deviceinfo.h index 1eb120ff..8550d85f 100644 --- a/source/core/deviceinfo.h +++ b/source/core/deviceinfo.h @@ -1,6 +1,8 @@ #ifndef MSP_GL_DEVICEINFO_H_ #define MSP_GL_DEVICEINFO_H_ +#include "glsl/features.h" + namespace Msp { namespace GL { @@ -15,8 +17,16 @@ struct Limits unsigned max_color_attachments; Limits(); +}; + +struct DeviceInfo +{ + Limits limits; + SL::Features glsl_features; + + DeviceInfo(); - static const Limits &get_global(); + static const DeviceInfo &get_global(); }; } // namespace GL