Use new opengl by default

This commit is contained in:
def 2017-10-20 22:47:45 +02:00
parent 02aeae416b
commit 342c6048bf
2 changed files with 5 additions and 1 deletions

View file

@ -66,6 +66,8 @@ shutil.copy("autoexec_server.cfg", package_dir)
if include_data and not use_bundle: if include_data and not use_bundle:
os.mkdir(os.path.join(package_dir, "data")) os.mkdir(os.path.join(package_dir, "data"))
copydir("data", package_dir) copydir("data", package_dir)
os.mkdir(os.path.join(package_dir, "shader"))
copydir("shader", package_dir)
if platform[:3] == "win": if platform[:3] == "win":
shutil.copy("other/config_directory.bat", package_dir) shutil.copy("other/config_directory.bat", package_dir)
shutil.copy("SDL2.dll", package_dir) shutil.copy("SDL2.dll", package_dir)
@ -119,7 +121,9 @@ if use_bundle:
os.mkdir(clientbundle_resource_dir) os.mkdir(clientbundle_resource_dir)
os.mkdir(clientbundle_framework_dir) os.mkdir(clientbundle_framework_dir)
os.mkdir(os.path.join(clientbundle_resource_dir, "data")) os.mkdir(os.path.join(clientbundle_resource_dir, "data"))
os.mkdir(os.path.join(clientbundle_resource_dir, "shader"))
copydir("data", clientbundle_resource_dir) copydir("data", clientbundle_resource_dir)
copydir("shader", clientbundle_resource_dir)
shutil.copy("other/icons/DDNet.icns", clientbundle_resource_dir) shutil.copy("other/icons/DDNet.icns", clientbundle_resource_dir)

View file

@ -400,7 +400,7 @@ MACRO_CONFIG_INT(ClDemoSliceEnd, cl_demo_slice_end, -1, 0, 0, CFGFLAG_SAVE|CFGFL
MACRO_CONFIG_INT(ClDemoShowSpeed, cl_demo_show_speed, 0, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Show speed meter on change") MACRO_CONFIG_INT(ClDemoShowSpeed, cl_demo_show_speed, 0, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Show speed meter on change")
//opengl //opengl
MACRO_CONFIG_INT(GfxForceOldOpenGL, gfx_force_old_opengl, 1, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Forces to use the old opengl version.") MACRO_CONFIG_INT(GfxForceOldOpenGL, gfx_force_old_opengl, 0, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Forces to use the old opengl version.")
#if !defined(CONF_PLATFORM_MACOSX) #if !defined(CONF_PLATFORM_MACOSX)
MACRO_CONFIG_INT(GfxEnableTextureUnitOptimization, gfx_enable_texture_unit_optimization, 1, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Use multiple texture units, instead of only one.") MACRO_CONFIG_INT(GfxEnableTextureUnitOptimization, gfx_enable_texture_unit_optimization, 1, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Use multiple texture units, instead of only one.")
#else #else