Код: Выделить всё
bool Window::init(const WindowProperties& props) { // Window Properties
Window::win = glfwCreateWindow(props.w, props.h, props.title.c_str(), NULL, NULL);
// Error check if the window fails to create
if (win == NULL)
{
std::cout Build();
ImGui::StyleColorsDark();
if (Engine::Instance().GetWindow()->glfwin() == nullptr) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79380162/compiling-opengl-code-on-linux-leading-to-illegal-instruction[/url]
Мобильная версия