mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 11:49:04 +08:00
libvgcode - fixed OpenGLWrapper::unload_opengl()
This commit is contained in:
parent
673127aeed
commit
c7f61a795f
@ -89,6 +89,11 @@ bool OpenGLWrapper::load_opengl(const std::string& context_version)
|
|||||||
|
|
||||||
void OpenGLWrapper::unload_opengl()
|
void OpenGLWrapper::unload_opengl()
|
||||||
{
|
{
|
||||||
|
#if VGCODE_ENABLE_OPENGL_ES
|
||||||
|
gladLoaderUnloadGLES2();
|
||||||
|
#else
|
||||||
|
gladLoaderUnloadGL();
|
||||||
|
#endif // VGCODE_ENABLE_OPENGL_ES
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace libvgcode
|
} // namespace libvgcode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user