KTX Texture compression fixed for opaque textures without an alpha channel.

KTX Texture mipmaps now loading correctly.

--HG--
extra : source : 35ac38101008024955ffa4d4c6e66f8e5be026a2
This commit is contained in:
2014-01-04 03:36:56 -08:00
parent a6fdde5978
commit 896311f0ac
6 changed files with 80 additions and 34 deletions

View File

@@ -42,7 +42,7 @@ void KRMeshStreamer::startStreamer()
#elif TARGET_OS_MAC
NSOpenGLPixelFormatAttribute pixelFormatAttributes[] =
{
NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersionLegacy,
// NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersionLegacy,
0
};
NSOpenGLPixelFormat *pixelFormat = [[[NSOpenGLPixelFormat alloc] initWithAttributes:pixelFormatAttributes] autorelease];