mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 17:50:42 +02:00
fix a typo in comment, NULL glWidget pointer
This commit is contained in:
parent
292354e180
commit
a8046b8316
1 changed files with 2 additions and 1 deletions
|
@ -605,6 +605,7 @@ Application::~Application() {
|
||||||
ModelEntityItem::cleanupLoadedAnimations();
|
ModelEntityItem::cleanupLoadedAnimations();
|
||||||
|
|
||||||
delete _glWidget;
|
delete _glWidget;
|
||||||
|
_glWidget = NULL;
|
||||||
|
|
||||||
DependencyManager::destroy<AnimationCache>();
|
DependencyManager::destroy<AnimationCache>();
|
||||||
DependencyManager::destroy<TextureCache>();
|
DependencyManager::destroy<TextureCache>();
|
||||||
|
@ -631,7 +632,7 @@ void Application::initializeGL() {
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
GLenum err = glewInit();
|
GLenum err = glewInit();
|
||||||
if (GLEW_OK != err) {
|
if (GLEW_OK != err) {
|
||||||
/* Problem: glewInit fa iled, something is seriously wrong. */
|
/* Problem: glewInit failed, something is seriously wrong. */
|
||||||
qDebug("Error: %s\n", glewGetErrorString(err));
|
qDebug("Error: %s\n", glewGetErrorString(err));
|
||||||
}
|
}
|
||||||
qDebug("Status: Using GLEW %s\n", glewGetString(GLEW_VERSION));
|
qDebug("Status: Using GLEW %s\n", glewGetString(GLEW_VERSION));
|
||||||
|
|
Loading…
Reference in a new issue