Skip to content

Commit e05f2ee

Browse files
committed
tweak SW_SUPPORT_NPOT_TEXTURE comment
1 parent 6ddd932 commit e05f2ee

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/external/rlsw.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,8 @@
165165
#endif
166166

167167
// Full NPOT texture support (enabled by default)
168-
// When disabled, POT dimensions are assumed, enabling fast bitmask wrapping
169-
// (x & (size-1)) for SW_REPEAT; SW_CLAMP remains supported for any dimension
170-
// Setting SW_REPEAT on an NPOT texture will trigger SW_INVALID_OPERATION
168+
// When disabled, SW_REPEAT requires POT on its axis (fast bitmask wrap)
169+
// SW_CLAMP remains supported for any dimension, per-axis
171170
#define SW_SUPPORT_NPOT_TEXTURE true
172171

173172
//----------------------------------------------------------------------------------

0 commit comments

Comments
 (0)