MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / TexGrStartOpenGL

Method TexGrStartOpenGL

editor/TextureGrWnd.cpp:603–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601oeLnxApplication *app;
602
603void CTextureGrWnd::TexGrStartOpenGL() {
604 if (DoOpenGL) {
605 app = (oeLnxApplication *)Descent;
606 StateLimited = 1;
607 // TODO - hwnd from SDL windows
608 // save_wnd = (HWND)app->m_hWnd;
609 // app->m_hWnd = (HWnd)m_hWnd;
610 // rend_SetOpenGLWindowState (1,Descent,NULL); // LGT: not defined anymore
611 rend_ClearScreen(0);
612 StateLimited = 1;
613 UseMultitexture = 0;
614 NoLightmaps = false;
615 }
616}
617
618void CTextureGrWnd::TexGrStopOpenGL() {
619 if (DoOpenGL) {

Callers

nothing calls this directly

Calls 1

rend_ClearScreenFunction · 0.50

Tested by

no test coverage detected