|
|
@ -10,9 +10,7 @@
|
|
|
|
#include "../../imgui.h"
|
|
|
|
#include "../../imgui.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
|
|
|
|
// Glfw/Glew
|
|
|
|
// Glfw
|
|
|
|
#define GLEW_STATIC
|
|
|
|
|
|
|
|
#include <GL/glew.h>
|
|
|
|
|
|
|
|
#include <GLFW/glfw3.h>
|
|
|
|
#include <GLFW/glfw3.h>
|
|
|
|
#define OFFSETOF(TYPE, ELEMENT) ((size_t)&(((TYPE *)0)->ELEMENT))
|
|
|
|
#define OFFSETOF(TYPE, ELEMENT) ((size_t)&(((TYPE *)0)->ELEMENT))
|
|
|
|
|
|
|
|
|
|
|
@ -141,8 +139,6 @@ void InitGL()
|
|
|
|
glfwSetMouseButtonCallback(window, glfw_mouse_button_callback);
|
|
|
|
glfwSetMouseButtonCallback(window, glfw_mouse_button_callback);
|
|
|
|
glfwSetScrollCallback(window, glfw_scroll_callback);
|
|
|
|
glfwSetScrollCallback(window, glfw_scroll_callback);
|
|
|
|
glfwSetCharCallback(window, glfw_char_callback);
|
|
|
|
glfwSetCharCallback(window, glfw_char_callback);
|
|
|
|
|
|
|
|
|
|
|
|
glewInit();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void LoadFontsTexture()
|
|
|
|
void LoadFontsTexture()
|
|
|
|