Skip to content

Instantly share code, notes, and snippets.

@nlguillemot
Created April 18, 2013 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nlguillemot/5410829 to your computer and use it in GitHub Desktop.
Save nlguillemot/5410829 to your computer and use it in GitHub Desktop.
import derelict.opengl3.gl3;
import derelict.glfw3.glfw3;
void main(){
DerelictGL3.load();
DerelictGLFW3.load();
glfwInit();
GLFWwindow* window = glfwCreateWindow(640,480,"Hello, World!",null,null);
glfwDestroyWindow(window);
glfwTerminate();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment