////////////////////////////////////////////////////////////////////////////
//                                                                        //
//               Name:          osal2_win_plugin_ogl_fct_scene_enter.c    //
//               Datum:         20.10.12                                  //
//               Autor:         Christian Kuhn                            //
//               Beschreibung:  betritt einen Szene-Kontext               //
//               Plattform:     any                                       //
//                                                                        //
////////////////////////////////////////////////////////////////////////////

#ifdef _WIN32
#include <windows.h>
#endif
#include "osal2_win_plugin_ogl_fct_internal.h"
#include <GL/gl.h>
#include <GL/glu.h>


void winOGLSceneEnterContext(void* gxd, ...)
{
  if (gxd)
  {
    glClearColor(0.0, 0.0, 0.0, 0.0);
    glEnable(GL_DEPTH_TEST);
    glClear(GL_COLOR_BUFFER_BIT);
    glLoadIdentity();
  }
}
