create basic OpenGL stuff
This commit is contained in:
8
projects/apis/opengl/src/instance/opengl_instance.c
Normal file
8
projects/apis/opengl/src/instance/opengl_instance.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "opengl_instance.h"
|
||||
|
||||
gnReturnCode createOpenGLInstance(gnInstanceHandle instance, gnInstanceInfo instanceInfo) {
|
||||
return GN_SUCCESS;
|
||||
}
|
||||
void destroyOpenGLInstance(gnInstanceHandle instance) {
|
||||
|
||||
}
|
8
projects/apis/opengl/src/instance/opengl_instance.h
Normal file
8
projects/apis/opengl/src/instance/opengl_instance.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
#include <GL/gl.h>
|
||||
#include "instance/gryphn_instance.h"
|
||||
|
||||
typedef struct gnPlatformInstance_t {} gnPlatformInstance;
|
||||
|
||||
gnReturnCode createOpenGLInstance(gnInstanceHandle instance, gnInstanceInfo instanceInfo);
|
||||
void destroyOpenGLInstance(gnInstanceHandle instance);
|
Reference in New Issue
Block a user