Function BlamRendering::SetDisplayRes

Function Documentation

HRESULT BlamRendering::SetDisplayRes(int x, int y)

Changes the game’s display resolution.

Return

S_OK if the resolution was updated, otherwise will contain an error code.

Parameters
  • x: - The new width to render the game at.

  • y: - The new height to render the game at.