File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,15 @@ static bool gWaylandAppsConfigLoaded = false;
168
168
#define DEFAULT_WAYLAND_APP_CONFIG_FILE " ./waylandregistry.conf"
169
169
#define DEFAULT_ALL_APPS_CONFIG_FILE " ./pxsceneappregistry.conf"
170
170
171
+ // ubuntu is mapped with glut
172
+ #if defined(PX_PLATFORM_WIN)
173
+ const rtString gPlatformOS = " Windows" ;
174
+ #elif defined(PX_PLATFORM_MAC)
175
+ const rtString gPlatformOS = " macOS" ;
176
+ #else
177
+ const rtString gPlatformOS = " Linux" ;
178
+ #endif
179
+
171
180
void populateWaylandAppsConfig ()
172
181
{
173
182
// populate from the wayland registry file
@@ -1964,6 +1973,7 @@ pxScene2d::pxScene2d(bool top, pxScriptView* scriptView)
1964
1973
build.set (" date" , xstr (__DATE__));
1965
1974
build.set (" time" , xstr (__TIME__));
1966
1975
build.set (" revision" , xstr (SPARK_BUILD_GIT_REVISION));
1976
+ build.set (" os" , gPlatformOS );
1967
1977
1968
1978
mInfo .set (" build" , build);
1969
1979
mInfo .set (" gfxmemory" , context.currentTextureMemoryUsageInBytes ());
You can’t perform that action at this time.
0 commit comments