mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
gl: Register a few more missing formats for conversion
This commit is contained in:
parent
e4e86455f2
commit
cc3809fbfe
2 changed files with 7 additions and 1 deletions
|
@ -107,6 +107,10 @@ namespace gl
|
|||
return std::make_tuple(GL_RGB, GL_UNSIGNED_SHORT_5_6_5, true);
|
||||
case texture::internal_format::rg8:
|
||||
return std::make_tuple(GL_RG, GL_UNSIGNED_BYTE, false);
|
||||
case texture::internal_format::rg16:
|
||||
return std::make_tuple(GL_RG, GL_UNSIGNED_SHORT, true);
|
||||
case texture::internal_format::rg16f:
|
||||
return std::make_tuple(GL_RG, GL_HALF_FLOAT, true);
|
||||
case texture::internal_format::rgba8:
|
||||
return std::make_tuple(GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, false);
|
||||
case texture::internal_format::rgba16f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue