you might try to replace
Code:
fadered.scale_x = screen_size.x;
fadered.scale_y = screen_size.y;


with
Code:
fadered.scale_x = screen_size.x/64;
fadered.scale_y = screen_size.y/64;



scale_x and scale_y do not set the new panel size, they scale it.
that means, if your screen size is 1024x768, you would have a panel with a width of 1024*64=65536 pixels and a breadth of 768*64=49152 pixels.
that makes 65536*49125=3219456000 pixels in total. of course most of them won't be visible on the screen, but afaik the calculations are made anyway.


SCHLEIFE SCHLEIFE SCHLEIFE SCHLEIFE SCHLEIFE SCHLEIFE