mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 15:27:41 +00:00
(360) Correctly initialize fbo_scale_x/fbo_scale_y
This commit is contained in:
parent
2a05f3568a
commit
858a21f87a
@ -248,7 +248,7 @@ static const float message_pos_offset_y = 0.05;
|
||||
static const uint32_t message_color = 0xffff00; // RGB hex value.
|
||||
|
||||
// Render-to-texture before rendering to screen (multi-pass shaders)
|
||||
#if defined(__CELLOS_LV2__) || defined(_XBOX360)
|
||||
#if defined(__CELLOS_LV2__)
|
||||
static const bool render_to_texture = true;
|
||||
#else
|
||||
static const bool render_to_texture = false;
|
||||
|
@ -177,11 +177,11 @@ void config_set_defaults(void)
|
||||
g_settings.video.msg_color_g = ((message_color >> 8) & 0xff) / 255.0f;
|
||||
g_settings.video.msg_color_b = ((message_color >> 0) & 0xff) / 255.0f;
|
||||
|
||||
#if defined(HAVE_CG) || defined(HAVE_GLSL)
|
||||
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
|
||||
g_settings.video.render_to_texture = render_to_texture;
|
||||
g_settings.video.second_pass_smooth = second_pass_smooth;
|
||||
g_settings.video.fbo.scale_x = fbo_scale_x;
|
||||
g_settings.video.fbo.scale_y = fbo_scale_y;
|
||||
g_settings.video.second_pass_smooth = second_pass_smooth;
|
||||
#endif
|
||||
|
||||
g_settings.video.refresh_rate = refresh_rate;
|
||||
|
Loading…
Reference in New Issue
Block a user