Re-introduced proper texture wrapping settings.

This commit is contained in:
Rinnegatamante
2020-10-24 16:43:59 +02:00
parent e57d339660
commit 173c9a14d0
-7
View File
@@ -433,17 +433,10 @@ static GLint filterConvMap_NoMIP[] = {
}; };
#endif #endif
#ifdef PSP2
static GLint addressConvMap[] = {
0, GL_REPEAT, GL_REPEAT,
GL_REPEAT, GL_REPEAT
};
#else
static GLint addressConvMap[] = { static GLint addressConvMap[] = {
0, GL_REPEAT, GL_MIRRORED_REPEAT, 0, GL_REPEAT, GL_MIRRORED_REPEAT,
GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE
}; };
#endif
static void static void
setFilterMode(uint32 stage, int32 filter) setFilterMode(uint32 stage, int32 filter)