Skip to content

Sdl glCreateContext

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

SDL.glCreateContext

Create a GL context.

Function

SYNOPSIS

ctx, err = function SDL.glCreateContext(win)

ARGUMENTS

  • win, the window (see Window)

RETURNS

  • ctx, the context object or nil on failure (see Context)
  • err, the error message
Clone this wiki locally