volmetrics

diff src/main.cc @ 31:cfeecd093730

minor change
author Eleni Maria Stea <elene.mst@gmail.com>
date Thu, 01 May 2014 16:28:12 +0300
parents e548d95e0667
children 6d637706cfaf
line diff
     1.1 --- a/src/main.cc	Thu May 01 15:28:51 2014 +0300
     1.2 +++ b/src/main.cc	Thu May 01 16:28:12 2014 +0300
     1.3 @@ -60,6 +60,7 @@
     1.4  
     1.5  int main(int argc, char **argv)
     1.6  {
     1.7 +	glutInitWindowSize(512, 512);
     1.8  	glutInit(&argc, argv);
     1.9  	if(argv[1])
    1.10  		vol_fname = argv[1];
    1.11 @@ -77,7 +78,6 @@
    1.12  
    1.13  static bool init()
    1.14  {
    1.15 -	glutInitWindowSize(512, 512);
    1.16  	glutInitDisplayMode(GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE);
    1.17  
    1.18  	mainwin_id = glutCreateWindow("CT scan");