Skip to content

Instantly share code, notes, and snippets.

Avatar

Eduard-Mihai Burtescu eddyb

View GitHub Profile
@chinmaygarde
chinmaygarde / FlutterEmbedderGLFW.cc
Last active Mar 25, 2022
Flutter Embedder API Example (GLFW with OpenGL)
View FlutterEmbedderGLFW.cc
#include <assert.h>
#include <chrono>
#include <embedder.h>
#include <glfw3.h>
#include <iostream>
static_assert(FLUTTER_ENGINE_VERSION == 1, "");
static const size_t kInitialWindowWidth = 800;