Skip to content

Instantly share code, notes, and snippets.

@xdsswar
xdsswar / gl_ffmpeg.cpp
Last active July 16, 2023 18:53 — forked from rcolinray/gl_ffmpeg.cpp
OpenGL-FFMpeg integration
// Use OpenGL 3.0+, but don't use GLU
#define GLFW_INCLUDE_GL3
#define GLFW_NO_GLU
#include <GL/glfw.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
extern "C" {
@xdsswar
xdsswar / digital-clock-in-javascript.markdown
Created February 28, 2023 17:33
Digital Clock In JavaScript