Fixed detection
This commit is contained in:
1 parent
b4d0449b4a
commit
91dd3a550c
1 file changed
+3
-3
@@ -187,9 +187,9 @@ namespace Vocaluxe.Lib.Draw
|
|||||||
|
|
||||||
//Check if Pow2 textures are needed
|
//Check if Pow2 textures are needed
|
||||||
_NonPowerOf2TextureSupported = true;
|
_NonPowerOf2TextureSupported = true;
|
||||||
_NonPowerOf2TextureSupported &= (caps.TextureCaps & TextureCaps.Pow2) != 0;
|
_NonPowerOf2TextureSupported &= (caps.TextureCaps & TextureCaps.Pow2) == 0;
|
||||||
_NonPowerOf2TextureSupported &= (caps.TextureCaps & TextureCaps.NonPow2Conditional) != 0;
|
_NonPowerOf2TextureSupported &= (caps.TextureCaps & TextureCaps.NonPow2Conditional) == 0;
|
||||||
_NonPowerOf2TextureSupported &= (caps.TextureCaps & TextureCaps.SquareOnly) != 0;
|
_NonPowerOf2TextureSupported &= (caps.TextureCaps & TextureCaps.SquareOnly) == 0;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user