Fortunately I had at least some foresight and rendered the game's background image asset at a 1:1 aspect ratio, so that it could extend beyond the bounds of the screen regardless of the resolution that the game was being played. However, as you can see from the screenshot above, the background is not able to extend anywhere since it is being stopped by those black (gray) bars.
class MyCustomScaleMode extends BaseScaleMode{ private var landscape:Bool; //For landscape orientation public function new(landscape:Bool = false){ super(); this.landscape = landscape; } override private function updateGameSize(Width:Int, Height:Int):Void { if (landscape) { gameSize.y = Width; gameSize.x = Width; }else { gameSize.y = Height; gameSize.x = Height; } }}