Skip to content

Instantly share code, notes, and snippets.

View stevenlstarr's full-sized avatar

Steven Starr stevenlstarr

  • Hultrix
  • Seattle, Wa
  • 06:54 (UTC -07:00)
View GitHub Profile
@stevenlstarr
stevenlstarr / gist:4721858b1cc4da0f579feac6a4c2e4fb
Last active April 20, 2024 21:31
SFML 2.6, Skia 0.34.0, Yoga Layout 3.0 Example
#define SK_GL
// Compile command:
// This project uses the Skia graphics library along with SFML, EGL, and other libraries.
// Compilation requires linking against these libraries as specified below.
// g++ -o test test.cpp -I/usr/include/skia -lskia -lsfml-graphics -lsfml-window -lsfml-system -lyogacore -lEGL -lGLESv2
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <GLES2/gl2.h>