Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
| Context not available. | |||||
| if (scr_saver_mode != SCREEN_SAVER_MODE_CONFIGURATION) | if (scr_saver_mode != SCREEN_SAVER_MODE_CONFIGURATION) | ||||
| #endif | #endif | ||||
| { | { | ||||
| if (SYS_GetCommandLineInt(syshandle, "nomipmap", 0)) { | |||||
| GPU_set_mipmap(0); | |||||
| } | |||||
| GPU_set_anisotropic(U.anisotropic_filter); | |||||
| GPU_set_gpu_mipmapping(U.use_gpu_mipmap); | |||||
| // Create the system | // Create the system | ||||
| if (GHOST_ISystem::createSystem() == GHOST_kSuccess) { | if (GHOST_ISystem::createSystem() == GHOST_kSuccess) { | ||||
| GHOST_ISystem* system = GHOST_ISystem::getSystem(); | GHOST_ISystem* system = GHOST_ISystem::getSystem(); | ||||
| Context not available. | |||||
| else | else | ||||
| app.startWindow(title, windowLeft, windowTop, windowWidth, windowHeight, | app.startWindow(title, windowLeft, windowTop, windowWidth, windowHeight, | ||||
| stereoWindow, stereomode, aasamples); | stereoWindow, stereomode, aasamples); | ||||
| if (SYS_GetCommandLineInt(syshandle, "nomipmap", 0)) { | |||||
| GPU_set_mipmap(0); | |||||
| } | |||||
| GPU_set_anisotropic(U.anisotropic_filter); | |||||
| GPU_set_gpu_mipmapping(U.use_gpu_mipmap); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||