From 58dae07212fa9cbc019f15f0721e8fb93e65a6e7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 15 Jun 2016 21:26:45 +0200 Subject: [PATCH] (GL FFT) Cleanup struct --- cores/libretro-ffmpeg/fft/fft.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cores/libretro-ffmpeg/fft/fft.cpp b/cores/libretro-ffmpeg/fft/fft.cpp index 5f88a98aa8..c59e23f5b1 100644 --- a/cores/libretro-ffmpeg/fft/fft.cpp +++ b/cores/libretro-ffmpeg/fft/fft.cpp @@ -35,15 +35,15 @@ using namespace glm; extern retro_log_printf_t log_cb; -typedef struct target +struct target { GLuint tex; GLuint fbo; -} target_t; +}; struct Pass { - target_t target; + struct target target; GLuint parameter_tex; }; @@ -68,7 +68,7 @@ typedef struct GLFFT unsigned output_ptr; - target_t output, resolve, blur; + struct target output, resolve, blur; struct Block { @@ -413,7 +413,7 @@ static void fft_init_texture(glfft_t *fft, GLuint *tex, GLenum format, glBindTexture(GL_TEXTURE_2D, 0); } -static void fft_init_target(glfft_t *fft, target_t *target, GLenum format, +static void fft_init_target(glfft_t *fft, struct target *target, GLenum format, unsigned width, unsigned height, unsigned levels, GLenum mag, GLenum min) { fft_init_texture(fft, &target->tex, format, width, height, levels, mag, min);