Hi Lionel,
I didn't see the whole code, but shouldn't you change the #define to 9 ?
a+
Maxime
-static const unsigned int widths[] = {320, 512, 640, 800, 1024, 1152, 1280, 1600}; -static const unsigned int heights[] = {200, 384, 480, 600, 768, 864, 1024, 1200}; +static const unsigned int widths[] = {320, 400, 512, 640, 800, 1024, 1152, 1280, 1600}; +static const unsigned int heights[] = {200, 300, 384, 480, 600, 768, 864, 1024, 1200}; #define NUM_DESKTOP_MODES (8)
/* create the mode structures */
On Sat, 2005-07-02 at 16:26 +0200, Lionel Ulmer wrote:
Changelog:
- add 400x300 resolution to modes supported by Desktop mode