bug of overflow due to IntPtr solved

This commit is contained in:
Nitload
2023-07-03 05:16:51 +08:00
parent 04b166771c
commit 2a78a60358
27 changed files with 58 additions and 66 deletions
@@ -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;
}