Skip to content

Instantly share code, notes, and snippets.

View hamzashahid-blit's full-sized avatar

Hamza Shahid hamzashahid-blit

View GitHub Profile
@realark
realark / ctriangle.cpp
Last active April 24, 2024 05:10
opengl hello triangle on c++ and common lisp
#include <iostream>
#include <string>
#include <GL/glew.h>
#include <GL/glu.h>
#include <SDL2/SDL.h>
// compile and run:
// rm csdlopengl ; gcc -o csdlopengl ctraingle.cpp -lSDL2 -lGLEW -lstdc++ -lGL && ./csdlopengl