refactor: improved gl context message display

This commit is contained in:
2021-11-04 19:56:33 +01:00
parent 98e451bf86
commit bd52901f34

View File

@@ -99,8 +99,8 @@ bool create() {
mask_desc = "?"; mask_desc = "?";
} }
std::cout << "Got context: " << major << "." << minor << mask_desc std::cout << "GL Context: " << major << "." << minor << " " << mask_desc
<< ", R" << r << "G" << g << "B" << b << "A" << a << ", depth bits: " << depth << std::endl; << ", Color : R" << r << "G" << g << "B" << b << "A" << a << ", Depth bits: " << depth << std::endl;
SDL_GL_MakeCurrent(window, glContext); SDL_GL_MakeCurrent(window, glContext);