mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 12:05:23 +00:00
overlays/gl: minor fixes
- fix ogl color map for overlay resources - fix label background for save dialog
This commit is contained in:
parent
6d46ac1ad6
commit
bb5622401c
2 changed files with 3 additions and 1 deletions
|
@ -397,7 +397,7 @@ namespace gl
|
|||
auto tex = std::make_unique<gl::texture>(GL_TEXTURE_2D, desc->w, desc->h, 1, 1, GL_RGBA8);
|
||||
tex->copy_from(desc->data, gl::texture::format::rgba, gl::texture::type::uint_8_8_8_8);
|
||||
|
||||
GLenum remap[] = { GL_BLUE, GL_GREEN, GL_RED, GL_ALPHA };
|
||||
GLenum remap[] = { GL_RED, GL_ALPHA, GL_BLUE, GL_GREEN };
|
||||
auto view = std::make_unique<gl::texture_view>(tex.get(), remap);
|
||||
|
||||
auto result = view.get();
|
||||
|
|
|
@ -291,6 +291,8 @@ namespace rsx
|
|||
static_cast<label*>(m_time_thingy.get())->auto_resize();
|
||||
|
||||
m_dim_background->back_color.a = 0.8f;
|
||||
m_description->back_color.a = 0.f;
|
||||
m_time_thingy->back_color.a = 0.f;
|
||||
|
||||
return_code = selection_code::canceled;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue