| 1136 | } |
| 1137 | |
| 1138 | void CEditorView::OnReinitOpengl() { |
| 1139 | // TODO: Add your command handler code here |
| 1140 | if (FindArg("-WindowGL")) { |
| 1141 | EditorStatus("Reinitting OpenGL"); |
| 1142 | rend_Close(); |
| 1143 | rend_Init(RENDERER_OPENGL, Descent, &Render_preferred_state); |
| 1144 | } else { |
| 1145 | EditorStatus("OpenGL command line argument not set."); |
| 1146 | } |
| 1147 | } |
| 1148 | |
| 1149 | void CEditorView::OnUpdateReinitOpengl(CCmdUI *pCmdUI) {} |
| 1150 |
nothing calls this directly
no test coverage detected