Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/GamePlayer/ghost/GPG_Application.cpp
| Context not available. | |||||
| # include <windows.h> | # include <windows.h> | ||||
| #endif | #endif | ||||
| #include "glew-mx.h" | #include "GL/glew.h" | ||||
| #include "GPU_extensions.h" | #include "GPU_extensions.h" | ||||
| #include "GPU_init_exit.h" | |||||
| #include "GPG_Application.h" | #include "GPG_Application.h" | ||||
| #include "BL_BlenderDataConversion.h" | #include "BL_BlenderDataConversion.h" | ||||
| Context not available. | |||||
| { | { | ||||
| if (!m_engineInitialized) | if (!m_engineInitialized) | ||||
| { | { | ||||
| GPU_init(); | GPU_extensions_init(); | ||||
| bgl::InitExtensions(true); | bgl::InitExtensions(true); | ||||
| // get and set the preferences | // get and set the preferences | ||||
| Context not available. | |||||
| m_canvas = 0; | m_canvas = 0; | ||||
| } | } | ||||
| GPU_exit(); | GPU_extensions_exit(); | ||||
| #ifdef WITH_PYTHON | #ifdef WITH_PYTHON | ||||
| // Call this after we're sure nothing needs Python anymore (e.g., destructors) | // Call this after we're sure nothing needs Python anymore (e.g., destructors) | ||||
| Context not available. | |||||