Skip to content

Window Class

Nolan Burfield edited this page Jul 14, 2016 · 2 revisions

Functions

Window()

Sets the window to 0.

~Window()

Stops the SLD window and closes it.

bool Initialize(const string &name, int* width, int* height)

Sets up the SDL widow with the given name of the given height and width.

void Swap()

This is used to swap the frame buffers of the window.

Variables

SDL_Window* gWindow

The window for SDL

SDL_GLContext gContext

The Window context

Clone this wiki locally