Skip to content

Commit

Permalink
Add some debug prints for Platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurtron committed Dec 21, 2024
1 parent 175dfd5 commit f1d62e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/platformFunctions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ end

determineCapabilities()
extendPlatform()

Spring.Echo("PLATFORM", Platform.numDisplays, Platform.glslVersionNum, Json.encode(Platform.availableVideoModes))
Spring.Echo("PLATFORM2", Platform.glHaveAMD, Platform.glHaveNVidia, Platform.glHaveIntel, Platform.glSupportDepthBufferBitDepth)
Spring.Echo("FULLPLATFORM", Json.encode(Platform))

0 comments on commit f1d62e0

Please sign in to comment.