mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
gl: Fix r5g6b5 format.
This commit is contained in:
parent
17c4b2387e
commit
b6c827b17a
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ color_format rsx::internals::surface_color_format_to_gl(rsx::surface_color_forma
|
||||||
switch (color_format)
|
switch (color_format)
|
||||||
{
|
{
|
||||||
case rsx::surface_color_format::r5g6b5:
|
case rsx::surface_color_format::r5g6b5:
|
||||||
return{ ::gl::texture::type::ushort_5_6_5, ::gl::texture::format::bgr, false, 3, 2 };
|
return{ ::gl::texture::type::ushort_5_6_5, ::gl::texture::format::rgb, false, 3, 2 };
|
||||||
|
|
||||||
case rsx::surface_color_format::a8r8g8b8:
|
case rsx::surface_color_format::a8r8g8b8:
|
||||||
return{ ::gl::texture::type::uint_8_8_8_8, ::gl::texture::format::bgra, false, 4, 1 };
|
return{ ::gl::texture::type::uint_8_8_8_8, ::gl::texture::format::bgra, false, 4, 1 };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue