Ticket #6848: bug.c
| File bug.c, 462 bytes (added by , 13 years ago) |
|---|
| Line | |
|---|---|
| 1 | #include <GL/glut.h> |
| 2 | #include <stdio.h> |
| 3 | |
| 4 | int main(int argc, char** argv) { |
| 5 | printf("glutInit\n"); |
| 6 | glutInit(&argc, argv); |
| 7 | printf("glutInitDisplayMode\n"); |
| 8 | glutInitDisplayMode(GLUT_DEPTH | GLUT_SINGLE | GLUT_RGBA); |
| 9 | printf("glutInitWindowPosition\n"); |
| 10 | glutInitWindowPosition(100, 100); |
| 11 | printf("glutInitWindowSize\n"); |
| 12 | glutInitWindowSize(320, 320); |
| 13 | printf("glutCreateWindow\n"); |
| 14 | glutCreateWindow("Hello, World"); |
| 15 | printf("done\n"); |
| 16 | return 0; |
| 17 | } |

