From 549a290a2f6c193d75f5514289abd3f5b6370a4c Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Wed, 14 Mar 2018 11:40:47 -0400 Subject: [PATCH] - add 'renderconfig' for the stats script to easily differentiate between OpenGL and software --- src/d_stats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_stats.cpp b/src/d_stats.cpp index 9f00d2a5cf..330fa75eca 100644 --- a/src/d_stats.cpp +++ b/src/d_stats.cpp @@ -273,8 +273,8 @@ void D_DoAnonStats() if (currentrenderer == 1 && sentstats_hwr_done >= CHECKVERSION) return; static char requeststring[1024]; - sprintf(requeststring, "GET /stats.php?render=%i&cores=%i&os=%i HTTP/1.1\nHost: %s\nConnection: close\nUser-Agent: %s %s\n\n", - GetRenderInfo(), GetCoreInfo(), GetOSVersion(), sys_statshost.GetHumanString(), GAMENAME, VERSIONSTR); + sprintf(requeststring, "GET /stats.php?render=%i&cores=%i&os=%i&renderconfig=%i HTTP/1.1\nHost: %s\nConnection: close\nUser-Agent: %s %s\n\n", + GetRenderInfo(), GetCoreInfo(), GetOSVersion(), currentrenderer, sys_statshost.GetHumanString(), GAMENAME, VERSIONSTR); DPrintf(DMSG_NOTIFY, "Sending %s", requeststring); std::thread t1(D_DoHTTPRequest, requeststring); t1.detach();