istereo2

diff src/glut/main.c @ 12:57188f7d9304

merged changes from macosx
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 28 Sep 2015 06:53:31 +0300
parents 64e15874f3bd
children f4dd01c36b0c
line diff
     1.1 --- a/src/glut/main.c	Mon Sep 28 06:53:06 2015 +0300
     1.2 +++ b/src/glut/main.c	Mon Sep 28 06:53:31 2015 +0300
     1.3 @@ -20,7 +20,13 @@
     1.4  #include <stdio.h>
     1.5  #include <stdlib.h>
     1.6  #include <GL/glew.h>
     1.7 +
     1.8 +#ifdef __APPLE__
     1.9 +#include <GLUT/glut.h>
    1.10 +#else
    1.11  #include <GL/glut.h>
    1.12 +#endif
    1.13 +
    1.14  #include "sanegl.h"
    1.15  #include "istereo.h"
    1.16  #include "sdr.h"
    1.17 @@ -33,7 +39,7 @@
    1.18  int main(int argc, char **argv)
    1.19  {
    1.20  	glutInit(&argc, argv);
    1.21 -	glutInitWindowSize(640, 920);
    1.22 +	glutInitWindowSize(920, 640);
    1.23  	glutInitDisplayMode(GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE);
    1.24  	glutCreateWindow("test");
    1.25