title: Understanding glXCreateContextAttribsARB attributes setup
body: <p>I am creating OpenGL 4.2 context manually for Linux.</p>
  
  <p>I create an arrays of context attributes like this:</p>
  
  <pre><code>    int context_attribs[] = {
          GLX_CONTEXT_MAJOR_VERSION_ARB, 4,
          GLX_CONTEXT_MINOR_VERSION_ARB, 2,
          GLX_CONTEXT_FLAGS_ARB, GLX_CONTEXT_DEBUG_BIT_ARB,
          GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,
          None
      };
  </code></pre>
  
  <p>Then I pass it into <a href="http://www.opengl.org/registry/specs/ARB/glx_create_context.txt" rel="nofollow">glXCreateContextAttribsARB</a>() .The context is created all right but I have a couple of question regarding the attribute flags.
  For example , for GLX_CONTEXT_FLAGS_ARB based on the docs I have 2 options :</p>
  
  <pre><code>    GLX_CONTEXT_DEBUG_BIT_ARB       0x0001
  GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB  0x0002
  </code></pre>
  
  <p>If I select the first one ,does it mean OpenGL runs in debug mode?If yes then if I set this flag to the second option does it mean I am not going to be able to use fixed functionality?
  If yes then how do I set "non debug" context but in compatibility profile mode?</p>