Patch by ico2:

changed width to event->width as it was preventing compilation.
This commit is contained in:
yabause 2008-11-10 22:27:08 +00:00
parent 7923100820
commit 279dc1e6b8
1 changed files with 2 additions and 2 deletions

View File

@ -706,7 +706,7 @@ common_configure_fn( GtkWidget *widget,
/* Height / width ration */ /* Height / width ration */
GLfloat ratio; GLfloat ratio;
LOG("wdith %d, height %d\n", event->width, event->height); LOG("width %d, height %d\n", event->width, event->height);
/*** OpenGL BEGIN ***/ /*** OpenGL BEGIN ***/
if (!gdk_gl_drawable_gl_begin (gldrawable, glcontext)) if (!gdk_gl_drawable_gl_begin (gldrawable, glcontext))
@ -763,7 +763,7 @@ common_configure_fn( GtkWidget *widget,
right = 256.0 * ((double)event->width / other_dimen); right = 256.0 * ((double)event->width / other_dimen);
} }
LOG("%d,%d\n", width, height); LOG("%d,%d\n", event->width, event->height);
LOG("l %lf, r %lf, t %lf, b %lf, other dimen %lf\n", LOG("l %lf, r %lf, t %lf, b %lf, other dimen %lf\n",
left, right, top, bottom, other_dimen); left, right, top, bottom, other_dimen);