mirror of
https://github.com/libretro/RetroArch
synced 2025-03-06 04:13:52 +00:00
Rename video_coord_array
This commit is contained in:
parent
d647c1b215
commit
eebcde721b
@ -146,7 +146,7 @@ OBJ += frontend/frontend.o \
|
||||
audio/audio_driver.o \
|
||||
input/input_driver.o \
|
||||
input/input_hid_driver.o \
|
||||
gfx/video_common.o \
|
||||
gfx/video_coord_array.o \
|
||||
gfx/video_driver.o \
|
||||
camera/camera_driver.o \
|
||||
location/location_driver.o \
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "../../general.h"
|
||||
#include "../../verbosity.h"
|
||||
#include "../font_driver.h"
|
||||
#include "../video_common.h"
|
||||
#include "../video_coord_array.h"
|
||||
#include "../video_context_driver.h"
|
||||
|
||||
#if (!defined(HAVE_OPENGLES) || defined(HAVE_OPENGLES3))
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#include "d3d.h"
|
||||
#include "../video_common.h"
|
||||
#include "../video_coord_array.h"
|
||||
#include "../../dynamic.h"
|
||||
#include "render_chain_driver.h"
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
#include "../font_driver.h"
|
||||
#include "../video_context_driver.h"
|
||||
#include "../video_common.h"
|
||||
#include "../video_coord_array.h"
|
||||
|
||||
static void vulkan_set_viewport(void *data, unsigned viewport_width,
|
||||
unsigned viewport_height, bool force_full, bool allow_rotate);
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <retro_inline.h>
|
||||
#include <retro_miscellaneous.h>
|
||||
|
||||
#include "video_common.h"
|
||||
#include "video_coord_array.h"
|
||||
|
||||
static INLINE bool realloc_checked(void **ptr, size_t size)
|
||||
{
|
||||
@ -99,18 +99,20 @@ void gfx_coord_array_free(gfx_coord_array_t *ca)
|
||||
|
||||
if (ca->coords.vertex)
|
||||
free(ca->coords.vertex);
|
||||
ca->coords.vertex = NULL;
|
||||
|
||||
if (ca->coords.color)
|
||||
free(ca->coords.color);
|
||||
ca->coords.color = NULL;
|
||||
|
||||
if (ca->coords.tex_coord)
|
||||
free(ca->coords.tex_coord);
|
||||
ca->coords.tex_coord = NULL;
|
||||
|
||||
if (ca->coords.lut_tex_coord)
|
||||
free(ca->coords.lut_tex_coord);
|
||||
|
||||
ca->coords.vertex = NULL;
|
||||
ca->coords.color = NULL;
|
||||
ca->coords.tex_coord = NULL;
|
||||
ca->coords.lut_tex_coord = NULL;
|
||||
|
||||
ca->coords.vertices = 0;
|
||||
ca->allocated = 0;
|
||||
ca->coords.vertices = 0;
|
||||
ca->allocated = 0;
|
||||
}
|
@ -14,8 +14,8 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __VIDEO_COMMON_H
|
||||
#define __VIDEO_COMMON_H
|
||||
#ifndef __VIDEO_COORD_ARRAY_H
|
||||
#define __VIDEO_COORD_ARRAY_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
@ -565,7 +565,7 @@ AUDIO
|
||||
DRIVERS
|
||||
============================================================ */
|
||||
#include "../gfx/video_driver.c"
|
||||
#include "../gfx/video_common.c"
|
||||
#include "../gfx/video_coord_array.c"
|
||||
#include "../input/input_driver.c"
|
||||
#include "../audio/audio_driver.c"
|
||||
#include "../camera/camera_driver.c"
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "../gfx/video_context_driver.h"
|
||||
#include "../gfx/font_driver.h"
|
||||
#include "../gfx/video_common.h"
|
||||
#include "../gfx/video_coord_array.h"
|
||||
#include "../libretro_version_1.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
x
Reference in New Issue
Block a user