title: How to remove QOpenGLContext::swapBuffers() called without corresponding makeCurrent()
body: <p>How can I stop this warning in Qt 5.4.1 in Debug/Release mode.</p>
  
  <pre><code>QOpenGLContext::swapBuffers() called without corresponding makeCurrent()
  </code></pre>
  
  <p>It only appears in debug mode, but release mode is fine with VS2010.
  It appears in both modes (Debug &amp; Release) with QtCreator.</p>
  
  <p>I have tried so many ways to remove it but no success, searched google but couldn't find any useful info.</p>
  
  <p>Plateform: Windows 8.1- VS2010- Qt_Creator Nvidia GTX 765</p>
  
  <p>Thanks.</p>