mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-27 19:44:15 +01:00
MaxwellToGL: Implemented tex wrap mode 1 (Wrap, GL_REPEAT).
This commit is contained in:
parent
7fc516cc1a
commit
636ad34707
@ -72,6 +72,8 @@ inline GLenum TextureFilterMode(Tegra::Texture::TextureFilter filter_mode) {
|
|||||||
|
|
||||||
inline GLenum WrapMode(Tegra::Texture::WrapMode wrap_mode) {
|
inline GLenum WrapMode(Tegra::Texture::WrapMode wrap_mode) {
|
||||||
switch (wrap_mode) {
|
switch (wrap_mode) {
|
||||||
|
case Tegra::Texture::WrapMode::Wrap:
|
||||||
|
return GL_REPEAT;
|
||||||
case Tegra::Texture::WrapMode::ClampToEdge:
|
case Tegra::Texture::WrapMode::ClampToEdge:
|
||||||
return GL_CLAMP_TO_EDGE;
|
return GL_CLAMP_TO_EDGE;
|
||||||
case Tegra::Texture::WrapMode::ClampOGL:
|
case Tegra::Texture::WrapMode::ClampOGL:
|
||||||
|
Loading…
Reference in New Issue
Block a user