X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fgraphics%2Fglcontext.h;fp=source%2Fgraphics%2Fglcontext.h;h=c637b39e95308bdf6913e7c3dbbfc52de5f9839d;hb=0ea9d1cd23fa58281e3726c088fc7961d8a29a29;hp=7f08f0e4026423e7d1b3b7c3dd657eae0ff781b1;hpb=f123908c33d846e484efaddc06b646cd73745cc6;p=libs%2Fgui.git diff --git a/source/graphics/glcontext.h b/source/graphics/glcontext.h index 7f08f0e..c637b39 100644 --- a/source/graphics/glcontext.h +++ b/source/graphics/glcontext.h @@ -11,11 +11,8 @@ class Window; struct GLOptions { - enum - { - DEFAULT_VERSION = 0, - LATEST_VERSION = 0xFFFFFFFF - }; + static constexpr unsigned DEFAULT_VERSION = 0; + static constexpr unsigned LATEST_VERSION = 0xFFFFFFFF; bool alpha = false; bool stencil = false;