Header include cleanups

This commit is contained in:
twinaphex 2017-04-20 09:14:20 +02:00
parent 4df1ba690d
commit d1ff5dd973
2 changed files with 3 additions and 38 deletions

View File

@ -989,8 +989,6 @@ bool audio_driver_start(bool is_shutdown)
if (!current_audio || !current_audio->start
|| !audio_driver_context_audio_data)
goto error;
if (audio_driver_alive())
return true;
if (!settings || settings->audio.mute_enable)
goto error;
if (!current_audio->start(audio_driver_context_audio_data, is_shutdown))

View File

@ -30,46 +30,21 @@
#include <compat/strl.h>
#include <gfx/scaler/scaler.h>
#include <gfx/math/matrix_4x4.h>
#include <formats/image.h>
#include <retro_inline.h>
#include <retro_miscellaneous.h>
#include <string/stdstring.h>
#include <libretro.h>
#include <gfx/gl_capabilities.h>
#include <gfx/video_frame.h>
#include "../../driver.h"
#include "../../configuration.h"
#include "../../record/record_driver.h"
#include "../../performance_counters.h"
#include "gl_legacy_renderchain.h"
#include "../video_renderchain_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#include "../common/gl_common.h"
#ifdef HAVE_THREADS
#include "../video_thread_wrapper.h"
#endif
#include "../font_driver.h"
#include "../video_context_driver.h"
#ifdef HAVE_GLSL
#include "../drivers_shader/shader_glsl.h"
#endif
#ifdef GL_DEBUG
#include <lists/string_list.h>
#endif
#ifdef HAVE_MENU
#include "../../menu/menu_driver.h"
#endif
#include "../../driver.h"
#include "../../configuration.h"
#include "../../verbosity.h"
#if defined(_WIN32) && !defined(_XBOX)
#include "../common/win32_common.h"
@ -77,14 +52,6 @@
#include "../video_shader_driver.h"
#ifndef GL_SYNC_GPU_COMMANDS_COMPLETE
#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
#endif
#ifndef GL_SYNC_FLUSH_COMMANDS_BIT
#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
#endif
#define set_texture_coords(coords, xamt, yamt) \
coords[2] = xamt; \
coords[6] = xamt; \