Dropping glew and using ImGui's loader instead

This commit is contained in:
AlexandreRouma
2022-01-22 18:03:14 +01:00
parent 0dc2f5f7c9
commit 6dc97de57b
26 changed files with 5286 additions and 2698 deletions

View File

@@ -3,7 +3,6 @@
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
#include <stdio.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <gui/main_window.h>
#include <gui/style.h>
@@ -412,12 +411,6 @@ int sdrpp_main(int argc, char* argv[]) {
free(icons[i].pixels);
}
if (glewInit() != GLEW_OK) {
spdlog::error("Failed to initialize OpenGL loader!");
return 1;
}
// Setup Dear ImGui context
IMGUI_CHECKVERSION();
ImGui::CreateContext();