diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-09-28 16:51:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-28 16:51:41 +0200 |
commit | 68325d7254db711beaedddad218e2cddb405c42c (patch) | |
tree | ffa82555d437a9b16c27daf06164d577efa574aa /platform | |
parent | 33af4a9746fb1feec4c88f4fe04c4e29317f2243 (diff) | |
parent | af4b0db1e4aef0c4ef77f025b9d539d7cce814bf (diff) |
Merge pull request #6615 from syskrank/master
minor cleanup for code in the "platform" section
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/os_android.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/platform/android/os_android.cpp b/platform/android/os_android.cpp index 4e395a6f9f..862709fc7d 100644 --- a/platform/android/os_android.cpp +++ b/platform/android/os_android.cpp @@ -132,15 +132,10 @@ void OS_Android::initialize(const VideoMode& p_desired,int p_video_driver,int p_ AudioDriverManagerSW::add_driver(&audio_driver_android); - if (true) { - RasterizerGLES2 *rasterizer_gles22=memnew( RasterizerGLES2(false,use_reload_hooks,false,use_reload_hooks ) ); - if (gl_extensions) - rasterizer_gles22->set_extensions(gl_extensions); - rasterizer = rasterizer_gles22; - } else { - //rasterizer = memnew( RasterizerGLES1(use_reload_hooks, use_reload_hooks) ); - - } + RasterizerGLES2 *rasterizer_gles22=memnew( RasterizerGLES2(false,use_reload_hooks,false,use_reload_hooks ) ); + if (gl_extensions) + rasterizer_gles22->set_extensions(gl_extensions); + rasterizer = rasterizer_gles22; rasterizer->set_force_16_bits_fbo(use_16bits_fbo); |