Update video_crt_switch.c

This commit is contained in:
alphanu1 2019-02-13 15:33:10 +00:00 committed by GitHub
parent 987264ab1b
commit 7d07130942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,7 @@ static unsigned orig_width = 0;
static unsigned orig_height = 0;
static int crt_center_adjust = 0;
static int crt_tmp_center_adjust = 0;
static double p_clock = 0;
static bool first_run = true;
@ -239,12 +240,12 @@ void crt_video_restore(void)
int crt_compute_dynamic_width(int width)
{
double p_clock = 15000000;
p_clock = 15000000;
int min_height = 261;
int dynamic_width = 0;
#if defined(HAVE_VIDEOCORE)
double p_clock = 32000000;
p_clock = 32000000;
#endif