X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fglcontext.cpp;fp=source%2Fgraphics%2Fglcontext.cpp;h=a66ca307b726a59a7ca1a025137b377fc401bd7c;hb=294c354ae3b1f26887c37f866f082e52c08d80f1;hp=16c1a5590663078c035162cabb56bca1af40ea4e;hpb=2ed9d7a0a96638bdf0614c1cf858719e7ced40d3;p=libs%2Fgui.git diff --git a/source/graphics/glcontext.cpp b/source/graphics/glcontext.cpp index 16c1a55..a66ca30 100644 --- a/source/graphics/glcontext.cpp +++ b/source/graphics/glcontext.cpp @@ -8,18 +8,6 @@ using namespace std; namespace Msp { namespace Graphics { -GLOptions::GLOptions(): - alpha(false), - stencil(false), - doublebuffer(true), - multisample(0), - forward_compatible(false), - core_profile(false), - gl_version_major(DEFAULT_VERSION), - gl_version_minor(DEFAULT_VERSION) -{ } - - unsupported_gl_mode::unsupported_gl_mode(const GLOptions &opts): runtime_error(format("{ .alpha=%s, .stencil=%s, .doublebuffer=%s, .multisample=%d, .forward_compatible=%s, .core_profile=%s, .gl_version=%s }", opts.alpha, opts.stencil, opts.doublebuffer, opts.multisample, opts.forward_compatible, opts.core_profile, format_version(opts)))