We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SW_SUPPORT_NPOT_TEXTURE
1 parent 6ddd932 commit e05f2eeCopy full SHA for e05f2ee
1 file changed
src/external/rlsw.h
@@ -165,9 +165,8 @@
165
#endif
166
167
// 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
+// When disabled, SW_REPEAT requires POT on its axis (fast bitmask wrap)
+// SW_CLAMP remains supported for any dimension, per-axis
171
#define SW_SUPPORT_NPOT_TEXTURE true
172
173
//----------------------------------------------------------------------------------
0 commit comments