Load Texture : Flag 2 with Alpha Layer Crashes on Windows 7?
Blitz3D Forums/Blitz3D Beginners Area/Load Texture : Flag 2 with Alpha Layer Crashes on Windows 7?
| ||
MoveEntity Clouds,0,4000,0 TurnEntity Clouds,0,0,180 Clouds_tex = LoadTexture("art/highclouds2.png",2) ;CHECK TO SEE If ASSET EXISTS If Clouds_tex = 0 Then RuntimeError "The highclouds2.png is missing or corrupted." ScaleTexture Clouds_tex,10000,10000 EntityTexture Clouds,Clouds_tex EntityAlpha Clouds,.3 EntityFX Clouds,1 In this code above which is a layer of clouds below the skybox, the flag setting of the texture cause a runtime error on every single Windows 7 machine I test it on. Clouds_tex = LoadTexture("art/highclouds2.png",2 If I change it to 1 it runs without issue. But it does not blend correctly with the Skybox without the flag set as 2. When I run this on my main development machine which is XP the flag setting of 2 works fine. Any idea as why this is occurring? |
| ||
After browsing the forums I found the answer here. http://www.blitzbasic.com/Community/posts.php?topic=87299 I even commented on it 3 years ago! LOL |