title: How to set OpenGL version?
body: <p>I am beginner in OpenGL, I am using latest opengl and GLFW libraries for windows context handling. </p>
  
  <p>I have two graphics cards in my laptop:</p>
  
  <ol>
  <li><p>Intel HD Graphics 3000</p></li>
  <li><p>Nvidia GT 540 m</p></li>
  </ol>
  
  <p>But when I run </p>
  
  <pre><code>const GLubyte* renderer = glGetString (GL_RENDERER); // get renderer string
  const GLubyte* version = glGetString (GL_VERSION); // version as a string
  
  printf ("Renderer: %s\n", renderer);
  printf ("OpenGL version supported %s\n", version);
  </code></pre>
  
  <p>output:</p>
  
  <p>Renderer: Intel HD Graphics 3000
  OpenGL version supported 3.1.0 - Build 9.17.10.3223</p>
  
  <p>My question is, how can I set default graphic card to NVIDIA and opengl version to 4.4 </p>