Skip to content

Sdl RendererSetLogicalSize

Tangent 128 edited this page Mar 28, 2015 · 3 revisions

Renderer:setLogicalSize

Set a device independent resolution for rendering.

Method

SYNOPSIS

ret, err = function Renderer:setLogicalSize(w, h)

ARGUMENTS

  • w, the width of the logical resolution
  • h, the height of the logical resolution

RETURNS

  • ret, true on success or false

Clone this wiki locally