diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-25 13:32:48 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-25 13:32:48 +0300 |
commit | 8a7f317666caa41aad0428b5ed3f399cdfbbd816 (patch) | |
tree | 7e6ba6c6a1ab952cc175d4e08b39aebc2286cb4a /source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | |
parent | f33cb522dd5793c685dcd681f7c7e13ff60f920a (diff) |
Cleanup: Nuke most of G.main from GPU code.
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_ghost.cpp')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp index 6c541758cb4..42b603f8980 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp @@ -1102,11 +1102,11 @@ int main( stereoWindow, stereomode, alphaBackground, aasamples); if (SYS_GetCommandLineInt(syshandle, "nomipmap", 0)) { - GPU_set_mipmap(0); + GPU_set_mipmap(G_MAIN, 0); } - GPU_set_anisotropic(U.anisotropic_filter); - GPU_set_gpu_mipmapping(U.use_gpu_mipmap); + GPU_set_anisotropic(G_MAIN, U.anisotropic_filter); + GPU_set_gpu_mipmapping(G_MAIN, U.use_gpu_mipmap); } } } |