27 lines · 511 B · C
RawDownload
/* * This file is part of MXE. See LICENSE.md for licensing information. */ #include <stdlib.h>#include <GL/glfw.h> int main(void){    /* Initialise GLFW */    if( !glfwInit() )    {        return EXIT_FAILURE;    }     /* Open a window and create its OpenGL context */    if( !glfwOpenWindow( 640, 480, 0,0,0,0, 0,0, GLFW_WINDOW ) )    {        glfwTerminate();        return EXIT_FAILURE;    }     /* Close OpenGL window and terminate GLFW*/    glfwTerminate();     return EXIT_SUCCESS;}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t