Compare commits

...

3 Commits

4 changed files with 4 additions and 2 deletions

View File

@ -139,7 +139,7 @@ bool Tunnel::configure (GnomeScreensaver & gs)
glMatrixMode(GL_PROJECTION); glMatrixMode(GL_PROJECTION);
glLoadIdentity(); glLoadIdentity();
gluPerspective(60.0, gs.getAspectRatio() / gs.getNumMonitors(), gluPerspective(60.0, gs.getAspectRatio() / gs.getNumMonitors(),
0.01, 1000.0); 1.0, 1000.0);
glMatrixMode(GL_MODELVIEW); glMatrixMode(GL_MODELVIEW);
glLoadIdentity(); glLoadIdentity();

View File

@ -1,3 +1,4 @@
#version 140
#ifdef GL_FRAGMENT_PRECISION_HIGH #ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float; precision highp float;

View File

@ -1,3 +1,4 @@
#version 140
attribute vec3 pos; attribute vec3 pos;
attribute vec3 normal; attribute vec3 normal;

View File

@ -94,7 +94,7 @@ GnomeScreensaver::GnomeScreensaver(int *argc, char ***argv,
if ((geometry == NULL) if ((geometry == NULL)
|| !gtk_window_parse_geometry (GTK_WINDOW (window), geometry)) || !gtk_window_parse_geometry (GTK_WINDOW (window), geometry))
{ {
gtk_window_set_default_size (GTK_WINDOW (window), 800, 600); gtk_window_set_default_size (GTK_WINDOW (window), 1200, 900);
} }
gtk_widget_show (window); gtk_widget_show (window);