mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Fix line breaks in gfx/video_driver.c
This commit is contained in:
parent
0356c563b8
commit
61e08ee35b
@ -42,15 +42,15 @@
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
#include "../menu/menu_driver.h"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "common/win32_common.h"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "common/win32_common.h"
|
||||
#endif
|
||||
|
||||
#include "../audio/audio_driver.h"
|
||||
#include "../frontend/frontend_driver.h"
|
||||
#include "../record/record_driver.h"
|
||||
#include "../record/record_driver.h"
|
||||
#include "../ui/ui_companion_driver.h"
|
||||
#include "../driver.h"
|
||||
#include "../file_path_special.h"
|
||||
@ -276,9 +276,9 @@ const video_driver_t *video_drivers[] = {
|
||||
#ifdef HAVE_OPENGL
|
||||
&video_gl2,
|
||||
#endif
|
||||
#if defined(HAVE_OPENGL_CORE)
|
||||
&video_gl3,
|
||||
#endif
|
||||
#if defined(HAVE_OPENGL_CORE)
|
||||
&video_gl3,
|
||||
#endif
|
||||
#ifdef HAVE_OPENGL1
|
||||
&video_gl1,
|
||||
#endif
|
||||
@ -303,10 +303,10 @@ const video_driver_t *video_drivers[] = {
|
||||
#if defined(HAVE_D3D9)
|
||||
#if defined(HAVE_HLSL)
|
||||
&video_d3d9_hlsl,
|
||||
#endif
|
||||
#endif
|
||||
#if defined(HAVE_CG)
|
||||
&video_d3d9_cg,
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#if defined(HAVE_D3D8)
|
||||
&video_d3d8,
|
||||
@ -407,12 +407,12 @@ video_driver_state_t *video_state_get_ptr(void)
|
||||
{
|
||||
return &video_driver_st;
|
||||
}
|
||||
|
||||
void crt_switch_driver_refresh(void)
|
||||
{
|
||||
video_driver_reinit(DRIVERS_CMD_ALL);
|
||||
}
|
||||
|
||||
|
||||
void crt_switch_driver_refresh(void)
|
||||
{
|
||||
video_driver_reinit(DRIVERS_CMD_ALL);
|
||||
}
|
||||
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
void *video_thread_get_ptr(video_driver_state_t *video_st)
|
||||
@ -445,11 +445,11 @@ video_driver_t *hw_render_context_driver(
|
||||
switch (type)
|
||||
{
|
||||
case RETRO_HW_CONTEXT_OPENGL_CORE:
|
||||
#ifdef HAVE_OPENGL_CORE
|
||||
return &video_gl3;
|
||||
#else
|
||||
break;
|
||||
#endif
|
||||
#ifdef HAVE_OPENGL_CORE
|
||||
return &video_gl3;
|
||||
#else
|
||||
break;
|
||||
#endif
|
||||
case RETRO_HW_CONTEXT_OPENGL:
|
||||
#ifdef HAVE_OPENGL
|
||||
return &video_gl2;
|
||||
@ -458,10 +458,10 @@ video_driver_t *hw_render_context_driver(
|
||||
#endif
|
||||
case RETRO_HW_CONTEXT_DIRECT3D:
|
||||
#if defined(HAVE_D3D9)
|
||||
#if defined(HAVE_HLSL)
|
||||
#if defined(HAVE_HLSL)
|
||||
if (major == 9)
|
||||
return &video_d3d9_hlsl;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#if defined(HAVE_D3D11)
|
||||
if (major == 11)
|
||||
@ -513,10 +513,10 @@ const char *hw_render_context_name(
|
||||
return "d3d11";
|
||||
#endif
|
||||
#ifdef HAVE_D3D9
|
||||
#if defined(HAVE_HLSL)
|
||||
#if defined(HAVE_HLSL)
|
||||
if (type == RETRO_HW_CONTEXT_DIRECT3D && major == 9)
|
||||
return "d3d9_hlsl";
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
return "N/A";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user