mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Add OpenGL support.
This commit is contained in:
parent
c354f59b72
commit
dd08fd2e7d
55 changed files with 2957 additions and 802 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