Lua script
This commit is contained in:
@@ -87,6 +87,8 @@ void Render::Init(SDL_Window* pWindow)
|
||||
m_pWindow = pWindow;
|
||||
SDL_assert(m_pWindow);
|
||||
|
||||
Msg("Initializing renderer ...");
|
||||
|
||||
// Create OpenGL context
|
||||
m_pGLContext = SDL_GL_CreateContext(m_pWindow);
|
||||
SDL_GL_MakeCurrent(m_pWindow, m_pGLContext);
|
||||
|
||||
Reference in New Issue
Block a user