mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
Merge pull request #940 from BeamNG/add_opengl_support
Add/Activate OpenGL render.
This commit is contained in:
commit
98e3651db5
55 changed files with 2958 additions and 803 deletions
17
Engine/source/platform/platformGL.h
Normal file
17
Engine/source/platform/platformGL.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue