Just got my Raspberry Pi the other day and have been looking around at things. I've compiled the hello_triangle sample that comes with the Debian distro and it works great, but the function call to:
Code: Select all
graphics_get_display_size(0 /* LCD */, &state->screen_width, &state->screen_height);If I hard code state->screen_height to 1200, hello_triangle displays properly at full screen, and this isn't too much of a bother really since any programs I write would have an option for resolution switch anyway.
I was just wondering if I'd missed anything?
Cheers,
Steve
