refactor: improved gl context message display
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user