Merge pull request #940 from BeamNG/add_opengl_support

Add/Activate OpenGL render.
This commit is contained in:
LuisAntonRebollo 2014-11-30 02:48:13 +01:00
commit 98e3651db5
55 changed files with 2958 additions and 803 deletions

View file

@ -0,0 +1,17 @@
#ifndef PLATFORM_GL_H
#define PLATFORM_GL_H
class PlatformWindow;
namespace PlatformGL
{
void init();
void* CreateContextGL( PlatformWindow *window );
void MakeCurrentGL( PlatformWindow *window, void *glContext );
void setVSync(const int i);
}
#endif //PLATFORM_GL_H