- More Documentation
- Vulkan Configuration Implementations - Fixed build errors on GCC and Clang
This commit is contained in:
@@ -73,7 +73,7 @@ eglcontext::eglcontext(display_server* display)
|
||||
|
||||
// Initialize EGL
|
||||
assertf(eglInitialize(_egldisplay, &_eglvmajor, &_eglvminor), "Failed to initialize egl.");
|
||||
logger::log(format("Initialized EGL v{}.{}", _eglvmajor, _eglvminor));
|
||||
logger::log(logger::info, format("Initialized EGL v{}.{}", _eglvmajor, _eglvminor));
|
||||
|
||||
// Reload EGL bindings
|
||||
assertf(gladLoaderLoadEGL(_egldisplay), "Unable to load EGL Bindings.");
|
||||
@@ -108,7 +108,8 @@ eglcontext::eglcontext(display_server* display)
|
||||
version.minor = _eglvminor;
|
||||
version.patch = 0;
|
||||
version.meta = _eglctype;
|
||||
logger::log(format("Created OpenGL Context: {} v{}.{}", egl_translate_type(version.meta), version.major, version.minor));
|
||||
|
||||
logger::log(logger::alert, format("Created OpenGL Context: {} v{}.{}", egl_translate_type(version.meta), version.major, version.minor));
|
||||
}
|
||||
|
||||
eglcontext::~eglcontext() {
|
||||
|
||||
Reference in New Issue
Block a user