Lua script

This commit is contained in:
2026-02-28 00:19:25 +03:00
parent 5434239b47
commit 2815369bb8
8 changed files with 202 additions and 7 deletions

View File

@@ -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);