Skip to content

Instantly share code, notes, and snippets.

View Carcons's full-sized avatar
💭
Following the white rabbit

Andrea Carcone Carcons

💭
Following the white rabbit
View GitHub Profile
@Carcons
Carcons / mt_gl_glfw_imgui.cpp
Last active March 2, 2024 16:24
Minimal C++17 example of using multithreading with Dear ImGui, OpenGL (GLEW) and GLFW
// C++17
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <imgui.h>
#include <imgui_impl_glfw.h>
#include <imgui_impl_opengl3.h>
#include <iostream>