mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Run code through the advanced tool 'sed' to remove trailing whitespace.
This commit is contained in:
parent
965b32be9c
commit
c579637eaf
@ -180,7 +180,6 @@ public:
|
|||||||
void Do(T& x)
|
void Do(T& x)
|
||||||
{
|
{
|
||||||
static_assert(IsTriviallyCopyable(T), "Only sane for trivially copyable types");
|
static_assert(IsTriviallyCopyable(T), "Only sane for trivially copyable types");
|
||||||
|
|
||||||
DoVoid((void*)&x, sizeof(x));
|
DoVoid((void*)&x, sizeof(x));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -656,8 +656,6 @@ void ChangeWiimoteSource(unsigned int index, int source)
|
|||||||
g_wiimote_sources[index] = source;
|
g_wiimote_sources[index] = source;
|
||||||
g_wiimote_scanner.WantWiimotes(0 != CalculateWantedWiimotes());
|
g_wiimote_scanner.WantWiimotes(0 != CalculateWantedWiimotes());
|
||||||
g_wiimote_scanner.WantBB(0 != CalculateWantedBB());
|
g_wiimote_scanner.WantBB(0 != CalculateWantedBB());
|
||||||
|
|
||||||
|
|
||||||
// kill real connection (or swap to different slot)
|
// kill real connection (or swap to different slot)
|
||||||
DoneWithWiimote(index);
|
DoneWithWiimote(index);
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,6 @@ bool CompileVertexShader(const char* code, unsigned int len, D3DBlob** blob)
|
|||||||
#endif
|
#endif
|
||||||
HRESULT hr = PD3DCompile(code, len, NULL, NULL, NULL, "main", D3D::VertexShaderVersionString(),
|
HRESULT hr = PD3DCompile(code, len, NULL, NULL, NULL, "main", D3D::VertexShaderVersionString(),
|
||||||
flags, 0, &shaderBuffer, &errorBuffer);
|
flags, 0, &shaderBuffer, &errorBuffer);
|
||||||
|
|
||||||
if (errorBuffer)
|
if (errorBuffer)
|
||||||
{
|
{
|
||||||
INFO_LOG(VIDEO, "Vertex shader compiler messages:\n%s\n",
|
INFO_LOG(VIDEO, "Vertex shader compiler messages:\n%s\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user