]> git.sesse.net Git - vlc/commitdiff
projectm: fix typo.
authorRémi Duraffort <ivoire@videolan.org>
Thu, 9 Jul 2009 10:04:45 +0000 (12:04 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 9 Jul 2009 10:05:09 +0000 (12:05 +0200)
modules/visualization/projectm.cpp

index 1c011a50244f0e9708f09093564c27458de5399f..60c2052466f824891c2d22a8f8acfa77eaee4dce 100644 (file)
@@ -122,7 +122,7 @@ static int initOpenGL( projectm_thread_t *p_thread )
 
     /* Initialize the opengl object */
     video_format_Setup( &p_thread->p_opengl->fmt_in, VLC_CODEC_RGB32,
-                        640, 460, 1 );
+                        p_thread->i_width, p_thread->i_height, 1 );
     p_thread->p_opengl->i_window_width = p_thread->i_width;
     p_thread->p_opengl->i_window_height = p_thread->i_height;
     p_thread->p_opengl->render.i_width = p_thread->i_width;