diff options
author | Wilrik de Loose <wilrik@wilrik.nl> | 2008-01-10 19:14:14 (GMT) |
---|---|---|
committer | Wilrik de Loose <wilrik@wilrik.nl> | 2008-01-10 19:14:14 (GMT) |
commit | b7bad543e14945a84d58a205ff30038db0b87ca0 (patch) | |
tree | 2f31e826b26c3806594283cd10d40420b187b596 /Smoke/gtk.c | |
parent | 890f2eba8e594f345600b6e97de4d35d22b9b31f (diff) | |
download | 2iv35-b7bad543e14945a84d58a205ff30038db0b87ca0.zip 2iv35-b7bad543e14945a84d58a205ff30038db0b87ca0.tar.gz 2iv35-b7bad543e14945a84d58a205ff30038db0b87ca0.tar.bz2 |
gui voor grid-smoke, resetten van scaling en clamping and fixed the motha-focking rescaling bug
Diffstat (limited to 'Smoke/gtk.c')
-rw-r--r-- | Smoke/gtk.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Smoke/gtk.c b/Smoke/gtk.c index b376b3c..e696d8d 100644 --- a/Smoke/gtk.c +++ b/Smoke/gtk.c @@ -162,14 +162,11 @@ configure_event (GtkWidget *widget, glViewport (0, 0, w, h); -// fluids glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluPerspective(45.0f, (GLfloat)w / (GLfloat)h, 0.1, 5000.0f); - //gluOrtho2D(0.0, (GLdouble)w, 0.0, (GLdouble)h); - winWidth = w; + winWidth = w; winHeight = h; -// endf gdk_gl_drawable_gl_end (gldrawable); /*** OpenGL END ***/ |