X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fdeviceinfo.h;h=6f20854409a52439031546993ba14b1ae3b58ec3;hb=009918e76dda88b0cb68fdaa20c63d6e952af260;hp=9ea239b17402d5afda4654d3dd7063d328ac3cc6;hpb=2d3113a7dbbe4be2f1d1e8980c1c4e42175163da;p=libs%2Fgl.git diff --git a/source/core/deviceinfo.h b/source/core/deviceinfo.h index 9ea239b1..6f208544 100644 --- a/source/core/deviceinfo.h +++ b/source/core/deviceinfo.h @@ -12,10 +12,18 @@ struct Limits unsigned max_clip_planes; unsigned max_samples; unsigned uniform_buffer_alignment; + unsigned max_color_attachments; Limits(); +}; + +struct DeviceInfo +{ + Limits limits; + + DeviceInfo(); - static const Limits &get_global(); + static const DeviceInfo &get_global(); }; } // namespace GL