2
0
Эх сурвалжийг харах

Removed support for SteamLink (discontinued 11/2018).

Бранимир Караџић 5 жил өмнө
parent
commit
54dc5e3ae7

+ 1 - 7
scripts/bgfx.lua

@@ -125,18 +125,12 @@ function bgfxProjectBase(_kind, _defines)
 			"-weak_framework MetalKit",
 		}
 
-	configuration { "not linux-steamlink", "not NX32", "not NX64" }
+	configuration { "not NX32", "not NX64" }
 		includedirs {
-			-- steamlink has EGL headers modified...
 			-- NX has EGL headers modified...
 			path.join(BGFX_DIR, "3rdparty/khronos"),
 		}
 
-	configuration { "linux-steamlink" }
-		defines {
-			"EGL_API_FB",
-		}
-
 	configuration {}
 
 	includedirs {

+ 0 - 5
scripts/example-common.lua

@@ -77,11 +77,6 @@ project ("example-common")
 		}
 	end
 
-	configuration { "linux-steamlink" }
-		defines {
-			"EGL_API_FB",
-		}
-
 	configuration { "osx or ios* or tvos*" }
 		files {
 			path.join(BGFX_DIR, "examples/common/**.mm"),

+ 2 - 10
scripts/genie.lua

@@ -70,7 +70,7 @@ newaction {
 			local csgen = require "bindings-cs"
 			csgen.write(csgen.gen(), "../bindings/cs/bgfx.cs")
 			csgen.write(csgen.gen_dllname(), "../bindings/cs/bgfx_dllname.cs")
-			
+
 			local dgen = require "bindings-d"
 			dgen.write(dgen.gen_types(), "../bindings/d/types.d")
 			dgen.write(dgen.gen_funcs(), "../bindings/d/funcs.d")
@@ -321,21 +321,13 @@ function exampleProjectDefaults()
 			"Optimize"
 		}
 
-	configuration { "linux-* or freebsd", "not linux-steamlink" }
+	configuration { "linux-* or freebsd" }
 		links {
 			"X11",
 			"GL",
 			"pthread",
 		}
 
-	configuration { "linux-steamlink" }
-		links {
-			"EGL",
-			"GLESv2",
-			"SDL2",
-			"pthread",
-		}
-
 	configuration { "rpi" }
 		links {
 			"X11",