Download Now
Forums

    Reference OpenGLSetAttributes

    Declared in Codebot.OpenGL.SDL.pas on line 38

    OpenGLSetAttributes sets the SDL attributes for the context version, which is the version selected in render.inc or the fallback version, and the buffer options in Params. Call it before creating a window for OpenGLContextCreate.
    procedure OpenGLSetAttributes(const Params: TOpenGLParams);

    See also

    TOpenGLParams in Codebot.OpenGL.pas