bug of overflow due to IntPtr solved
This commit is contained in:
@@ -46,18 +46,4 @@ STGSHARPGRAPHIC_API int initGLAD(void)
|
||||
{
|
||||
return gladLoadGLLoader((GLADloadproc)glfwGetProcAddress);
|
||||
|
||||
}
|
||||
|
||||
GLFWwindow* (*createWindow)(
|
||||
int width,
|
||||
int height,
|
||||
const char* title,
|
||||
GLFWmonitor* monitor,
|
||||
GLFWwindow* share);
|
||||
|
||||
|
||||
STGSHARPGRAPHIC_API void* getPtr(void)
|
||||
{
|
||||
createWindow = glfwCreateWindow;
|
||||
return createWindow;
|
||||
}
|
||||
@@ -19,7 +19,6 @@
|
||||
STGSHARPGRAPHIC_API glIOpackage loadGLApi(void);
|
||||
STGSHARPGRAPHIC_API void initGL(void);
|
||||
STGSHARPGRAPHIC_API int initGLAD(void);
|
||||
STGSHARPGRAPHIC_API void* getPtr(void);
|
||||
|
||||
|
||||
#endif // !SSG
|
||||
|
||||
Reference in New Issue
Block a user