mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
(vg.c) Variable rename
This commit is contained in:
parent
3d65cf07ca
commit
7e592df3e8
@ -36,7 +36,7 @@ typedef struct
|
|||||||
{
|
{
|
||||||
bool should_resize;
|
bool should_resize;
|
||||||
float mScreenAspect;
|
float mScreenAspect;
|
||||||
bool mKeepAspect;
|
bool keep_aspect;
|
||||||
bool mEglImageBuf;
|
bool mEglImageBuf;
|
||||||
unsigned mTextureWidth;
|
unsigned mTextureWidth;
|
||||||
unsigned mTextureHeight;
|
unsigned mTextureHeight;
|
||||||
@ -111,8 +111,8 @@ static void *vg_init(const video_info_t *video, const input_driver_t **input, vo
|
|||||||
|
|
||||||
gfx_ctx_update_window_title(vg);
|
gfx_ctx_update_window_title(vg);
|
||||||
|
|
||||||
vg->mTexType = video->rgb32 ? VG_sXRGB_8888 : VG_sRGB_565;
|
vg->mTexType = video->rgb32 ? VG_sXRGB_8888 : VG_sRGB_565;
|
||||||
vg->mKeepAspect = video->force_aspect;
|
vg->keep_aspect = video->force_aspect;
|
||||||
|
|
||||||
unsigned win_width = video->width;
|
unsigned win_width = video->width;
|
||||||
unsigned win_height = video->height;
|
unsigned win_height = video->height;
|
||||||
@ -233,7 +233,7 @@ static void vg_calculate_quad(vg_t *vg)
|
|||||||
video_driver_get_size(&width, &height);
|
video_driver_get_size(&width, &height);
|
||||||
|
|
||||||
/* set viewport for aspect ratio, taken from the OpenGL driver. */
|
/* set viewport for aspect ratio, taken from the OpenGL driver. */
|
||||||
if (vg->mKeepAspect)
|
if (vg->keep_aspect)
|
||||||
{
|
{
|
||||||
float desired_aspect = video_driver_get_aspect_ratio();
|
float desired_aspect = video_driver_get_aspect_ratio();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user