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

SDL.glSetAttribute

Set a GL attribute

Function

SYNOPSIS

ret, err = function SDL.glSetAttribute(id, value)

ARGUMENTS

  • id, the attribute
  • value, the value

RETURNS

  • ret, true on success or nil on failure
  • err, the error message
Clone this wiki locally