summaryrefslogtreecommitdiffstats
path: root/Smoke/gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'Smoke/gtk.c')
-rw-r--r--Smoke/gtk.c5
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 ***/