SDLInputSource: Remove unused variable

pull/3794/head
Stenzek 2 weeks ago
parent c359ccfcb6
commit 2179487e57
No known key found for this signature in database

@ -306,8 +306,6 @@ static void SDLLogCallback(void* userdata, int category, SDL_LogPriority priorit
GENERIC_LOG(Log::Channel::SDL, priority_map[priority], Log::Color::Default, message);
}
bool SDLInputSource::ALLOW_EVENT_POLLING = true;
SDLInputSource::SDLInputSource() = default;
SDLInputSource::~SDLInputSource()
@ -629,9 +627,6 @@ void SDLInputSource::ShutdownSubsystem()
void SDLInputSource::PollEvents()
{
if (!ALLOW_EVENT_POLLING)
return;
for (;;)
{
SDL_Event ev;

@ -60,8 +60,6 @@ public:
static bool IsHandledInputEvent(const SDL_Event* ev);
static bool ALLOW_EVENT_POLLING;
private:
struct ControllerData
{

@ -92,7 +92,6 @@
<ClInclude Include="postprocessing_shader_fx.h" />
<ClInclude Include="postprocessing_shader_glsl.h" />
<ClInclude Include="postprocessing_shader_slang.h" />
<ClInclude Include="sdl_video_helpers.h" />
<ClInclude Include="sdl_input_source.h" />
<ClInclude Include="shadergen.h" />
<ClInclude Include="shiftjis.h" />

@ -80,7 +80,6 @@
<ClInclude Include="core_audio_stream.h" />
<ClInclude Include="vulkan_headers.h" />
<ClInclude Include="gpu_types.h" />
<ClInclude Include="sdl_video_helpers.h" />
<ClInclude Include="object_archive.h" />
<ClInclude Include="http_cache.h" />
<ClInclude Include="dyn_sqlite.h" />

Loading…
Cancel
Save