Added GL_CLAMP_TO_BORDER support
This commit is contained in:
parent
0ef3f12c71
commit
58d1c6398e
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