Changeset 39

Show
Ignore:
Timestamp:
07/10/07 17:49:42 (1 year ago)
Author:
JoeCoder
Message:

Created temporary fix for white screen problem.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/yage/resource/texture.d

    r36 r39  
    305305 
    306306            // 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) 
    308309            {   if (log2(newheight) != floor(log2(newheight))) 
    309310                    newheight = nextPow2(newheight); 
     
    326327 
    327328        // Needs to be tested. 
    328         if (!Device.getSupport(DEVICE_NON_2_TEXTURE)) 
     329        //if (!Device.getSupport(DEVICE_NON_2_TEXTURE)) 
     330        if (true) 
    329331        {   this.width = nextPow2(width); 
    330332            this.height =nextPow2(height);