Skip to content

Instantly share code, notes, and snippets.

View FyiurAmron's full-sized avatar
🐊
I'm lying right now.

FyiurAmron

🐊
I'm lying right now.
  • Philosoraptor LLC
  • Xanadu
View GitHub Profile
@FyiurAmron
FyiurAmron / sdl2_opengl.cpp
Last active April 12, 2016 21:16 — forked from sergnechaev/sdl2_opengl.cpp
Very basic SDL2 OpenGL application
#include <iostream>
#define _USE_MATH_DEFINES
#include <cmath>
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
const int SCREEN_WIDTH = 800;
const int SCREEN_HEIGHT = 600;