Properly log graphics api name in gfx::init
This commit is contained in:
parent
d473ef3ea4
commit
0836cf00a6
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ namespace psemek::gfx
|
||||||
int major, minor;
|
int major, minor;
|
||||||
gl::GetIntegerv(gl::MAJOR_VERSION, &major);
|
gl::GetIntegerv(gl::MAJOR_VERSION, &major);
|
||||||
gl::GetIntegerv(gl::MINOR_VERSION, &minor);
|
gl::GetIntegerv(gl::MINOR_VERSION, &minor);
|
||||||
log::info() << "Initialized OpenGL " << major << '.' << minor << ", " << vendor << ", " << renderer;
|
log::info() << "Initialized " << gl::sys::api() << ' ' << major << '.' << minor << ", " << vendor << ", " << renderer;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue