Mercurial > mxe-octave
view src/freeglut-test.c @ 5532:90e3f78b2304
* src/librsb.mk: update to v1.2.0.9
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 11 Sep 2020 18:56:29 -0400 |
parents | 14b3f5ea78ae |
children |
line wrap: on
line source
/* * This file is part of MXE. * See index.html for further information. */ #include <GL/glut.h> #include <stdio.h> int main(int argc, char *argv[]) { glutInit(&argc, argv); glutInitWindowSize(640,480); glutInitWindowPosition(10,10); glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH); glutCreateWindow("FreeGLUT Shapes"); glutMainLoop(); return(0); }