mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-21 21:35:38 +00:00
dep/reshadefx: Fix float printing regression
This commit is contained in:
parent
8c9a885032
commit
534a82d091
|
@ -9,7 +9,6 @@
|
|||
#include <cstdio> // snprintf
|
||||
#include <cassert>
|
||||
#include <algorithm> // std::find_if, std::max
|
||||
#include <iomanip>
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
#include <unordered_set>
|
||||
|
@ -366,7 +365,7 @@ private:
|
|||
{
|
||||
std::ostringstream ss;
|
||||
ss.imbue(std::locale::classic());
|
||||
ss << std::fixed << data.as_float[i];
|
||||
ss << data.as_float[i];
|
||||
s += ss.str();
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include <cassert>
|
||||
#include <cstring> // stricmp
|
||||
#include <algorithm> // std::find_if, std::max
|
||||
#include <iomanip>
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
|
||||
|
@ -345,7 +344,7 @@ private:
|
|||
{
|
||||
std::ostringstream ss;
|
||||
ss.imbue(std::locale::classic());
|
||||
ss << std::fixed << data.as_float[i];
|
||||
ss << data.as_float[i];
|
||||
s += ss.str();
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue