mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-13 06:10:04 +00:00
Merge pull request #907 from Lectem/clamp_to_border
Add GL_CLAMP_TO_BORDER support.
This commit is contained in:
commit
ae7120f5d9
3 changed files with 26 additions and 11 deletions
|
@ -15,7 +15,7 @@ namespace PicaToGL {
|
|||
inline GLenum WrapMode(Pica::Regs::TextureConfig::WrapMode mode) {
|
||||
static const GLenum wrap_mode_table[] = {
|
||||
GL_CLAMP_TO_EDGE, // WrapMode::ClampToEdge
|
||||
0, // Unknown
|
||||
GL_CLAMP_TO_BORDER,// WrapMode::ClampToBorder
|
||||
GL_REPEAT, // WrapMode::Repeat
|
||||
GL_MIRRORED_REPEAT // WrapMode::MirroredRepeat
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue