This command is deprecated due to lack of support in newer renderers. The alternative is to render your scene to an image of your chosen size with SetRenderToImage and then display that image to the screen
Definition
SetScreenResolution( width, height )
void agk::SetScreenResolution( int width, int height )