mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 16:20:39 +00:00
Rename gl_fbo_rect to gfx_fbo_rect
This commit is contained in:
parent
c5f2b7e8a1
commit
4c1562fb70
@ -359,7 +359,7 @@ static void gl_compute_fbo_geometry(gl_t *gl, unsigned width, unsigned height,
|
|||||||
/* Calculate viewports for FBOs. */
|
/* Calculate viewports for FBOs. */
|
||||||
for (i = 0; i < gl->fbo_pass; i++)
|
for (i = 0; i < gl->fbo_pass; i++)
|
||||||
{
|
{
|
||||||
struct gl_fbo_rect *fbo_rect = &gl->fbo_rect[i];
|
struct gfx_fbo_rect *fbo_rect = &gl->fbo_rect[i];
|
||||||
struct gfx_fbo_scale *fbo_scale = &gl->fbo_scale[i];
|
struct gfx_fbo_scale *fbo_scale = &gl->fbo_scale[i];
|
||||||
|
|
||||||
switch (gl->fbo_scale[i].type_x)
|
switch (gl->fbo_scale[i].type_x)
|
||||||
@ -930,7 +930,7 @@ static void gl_check_fbo_dimensions(gl_t *gl)
|
|||||||
GLenum status;
|
GLenum status;
|
||||||
unsigned img_width, img_height, max, pow2_size;
|
unsigned img_width, img_height, max, pow2_size;
|
||||||
bool check_dimensions = false;
|
bool check_dimensions = false;
|
||||||
struct gl_fbo_rect *fbo_rect = &gl->fbo_rect[i];
|
struct gfx_fbo_rect *fbo_rect = &gl->fbo_rect[i];
|
||||||
|
|
||||||
if (!fbo_rect)
|
if (!fbo_rect)
|
||||||
continue;
|
continue;
|
||||||
@ -978,8 +978,8 @@ static void gl_frame_fbo(gl_t *gl, uint64_t frame_count,
|
|||||||
const struct gl_tex_info *tex_info)
|
const struct gl_tex_info *tex_info)
|
||||||
{
|
{
|
||||||
unsigned width, height;
|
unsigned width, height;
|
||||||
const struct gl_fbo_rect *prev_rect;
|
const struct gfx_fbo_rect *prev_rect;
|
||||||
const struct gl_fbo_rect *rect;
|
const struct gfx_fbo_rect *rect;
|
||||||
struct gl_tex_info *fbo_info;
|
struct gl_tex_info *fbo_info;
|
||||||
struct gl_tex_info fbo_tex_info[GFX_MAX_SHADERS];
|
struct gl_tex_info fbo_tex_info[GFX_MAX_SHADERS];
|
||||||
int i;
|
int i;
|
||||||
|
@ -178,7 +178,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
struct gl_fbo_rect
|
struct gfx_fbo_rect
|
||||||
{
|
{
|
||||||
unsigned img_width;
|
unsigned img_width;
|
||||||
unsigned img_height;
|
unsigned img_height;
|
||||||
@ -262,7 +262,7 @@ typedef struct gl
|
|||||||
/* Render-to-texture, multipass shaders. */
|
/* Render-to-texture, multipass shaders. */
|
||||||
GLuint fbo[GFX_MAX_SHADERS];
|
GLuint fbo[GFX_MAX_SHADERS];
|
||||||
GLuint fbo_texture[GFX_MAX_SHADERS];
|
GLuint fbo_texture[GFX_MAX_SHADERS];
|
||||||
struct gl_fbo_rect fbo_rect[GFX_MAX_SHADERS];
|
struct gfx_fbo_rect fbo_rect[GFX_MAX_SHADERS];
|
||||||
struct gfx_fbo_scale fbo_scale[GFX_MAX_SHADERS];
|
struct gfx_fbo_scale fbo_scale[GFX_MAX_SHADERS];
|
||||||
int fbo_pass;
|
int fbo_pass;
|
||||||
bool fbo_inited;
|
bool fbo_inited;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user