title: what SDL and OpenGL version and implementation I'm using
body: <p>I downloaded SDL 1.2.14
  on Windows 7
  and I have Mobility Radeon X1800 driver installed.</p>
  
  <p>I'm using Microsoft Visual C++ 2010 Express.</p>
  
  <p>I added the SDL include and library directories in the "VC++ Directories"</p>
  
  <p>I added the following Additional Dependencies:
    opengl32.lib;
    glu32.lib;
    SDL.lib;
    SDLmain.lib;</p>
  
  <p>I added the SDL.dll to my program folder</p>
  
  <p>I didn't add any opengl directories!</p>
  
  <pre><code>#include "SDL.h"
  #include "SDL_opengl.h"
  
  bool running = true;
  
  int main(int argc, char* args[]) {
    SDL_Init(SDL_INIT_EVERYTHING);
    SDL_Surface* screen = SDL_SetVideoMode(640,480,32,SDL_OPENGL);
  
    glViewport(0,0,640,480);
    glMatrixMode(GL_PROJECTION);
    glLoadIdentity();
    gluPerspective(45.0, 640/480, 1.0, 200.0);
  
    while(running) {
      glClear(GL_COLOR_BUFFER_BIT |GL_DEPTH_BUFFER_BIT);
  
      glMatrixMode(GL_MODELVIEW); // Swich to the drawing perspective
      glLoadIdentity();
      glTranslatef(0.0,0.0,-5.0);
  
      glBegin(GL_TRIANGLES);
        glVertex3f(-0.5f, 0.5f, 0.0f);
        glVertex3f(-1.0f, 1.5f, 0.0f);
        glVertex3f(-1.5f, 0.5f, 0.0f);
      glEnd();
  
      SDL_GL_SwapBuffers();
    }
  
    SDL_Quit();
    return 0;
  }
  </code></pre>
  
  <p>This program draws a simple triangle.
  I include 2 header files above and my Opengl code just works!</p>
  
  <p>I don't know if my triangle is done on a the GPU or CPU. And what openGL version I'm using?</p>
  
  <p>I mean i heard that Microsoft don't update there opengl files any longer and that they use CPU implementation of OpenGL 1.1 or something.</p>
  
  <p>How do I know what version of OpenGL I'm using? And can I check at run time?</p>
  
  <p>How do I know if I'm using a CPU or GPU implementation? And can I check at run time?</p>
  
  <p>Thanks for look at my problem.</p>