Changeset 39
- Timestamp:
- 07/10/07 17:49:42 (1 year ago)
- Files:
-
- trunk/bin/yage3d.exe (modified) (previous)
- trunk/src/yage/resource/texture.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/yage/resource/texture.d
r36 r39 305 305 306 306 // Ensure power of two sized if required 307 if (!Device.getSupport(DEVICE_NON_2_TEXTURE)) 307 //if (!Device.getSupport(DEVICE_NON_2_TEXTURE)) 308 if (true) 308 309 { if (log2(newheight) != floor(log2(newheight))) 309 310 newheight = nextPow2(newheight); … … 326 327 327 328 // Needs to be tested. 328 if (!Device.getSupport(DEVICE_NON_2_TEXTURE)) 329 //if (!Device.getSupport(DEVICE_NON_2_TEXTURE)) 330 if (true) 329 331 { this.width = nextPow2(width); 330 332 this.height =nextPow2(height);
