diff options
author | Roland Scheidegger <[email protected]> | 2008-06-10 15:43:33 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2008-06-10 15:45:20 +0200 |
commit | 17ec0dbd7575de749377f6b33075e087ebe9fc9f (patch) | |
tree | eb803dddf7bbc9979ef584ebab6113f33bef050c /src | |
parent | fbb96a0301e8cecb8835befe51286d954aa005c0 (diff) |
copy msaa visuals capability
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/x11/glcontextmodes.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/glx/x11/glcontextmodes.c b/src/glx/x11/glcontextmodes.c index 2a8e48d00d4..326c8b2357c 100644 --- a/src/glx/x11/glcontextmodes.c +++ b/src/glx/x11/glcontextmodes.c @@ -118,7 +118,7 @@ _gl_convert_to_x_visual_type( int visualType ) * of the fields in \c config are copied to \c mode. Additional fields in * \c mode that can be derrived from the fields of \c config (i.e., * \c haveDepthBuffer) are also filled in. The remaining fields in \c mode - * that cannot be derrived are set to default values. + * that cannot be derived are set to default values. * * \param mode Destination GL context mode. * \param config Source GLX visual config. @@ -184,6 +184,9 @@ _gl_copy_visual_to_context_mode( __GLcontextModes * mode, mode->transparentBlue = config->transparentBlue; mode->transparentAlpha = config->transparentAlpha; mode->transparentIndex = config->transparentIndex; + mode->samples = config->multiSampleSize; + mode->sampleBuffers = config->nMultiSampleBuffers; + /* mode->visualSelectGroup = config->visualSelectGroup; ? */ mode->swapMethod = GLX_SWAP_UNDEFINED_OML; |