OSX Build now running again

Implemented KTX texture file support
Implemented workflow for compressing TGA textures referenced by FBX files to KTX with DXT1 and DXT5 format.

--HG--
extra : source : 7283e7f81861682f54cda3ef6c9b0fbc9273f675
This commit is contained in:
2014-01-03 02:17:27 -08:00
parent beee63336f
commit a6fdde5978
13 changed files with 434 additions and 12 deletions

View File

@@ -42,11 +42,11 @@ void KRMeshStreamer::startStreamer()
#elif TARGET_OS_MAC
NSOpenGLPixelFormatAttribute pixelFormatAttributes[] =
{
NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core,
NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersionLegacy,
0
};
NSOpenGLPixelFormat *pixelFormat = [[[NSOpenGLPixelFormat alloc] initWithAttributes:pixelFormatAttributes] autorelease];
gMeshStreamerContext = [[[NSOpenGLContext alloc] initWithFormat: pixelFormat shareContext: [NSOpenGLContext currentContext] ] autorelease];
gMeshStreamerContext = [[NSOpenGLContext alloc] initWithFormat: pixelFormat shareContext: [NSOpenGLContext currentContext] ];
#else
#error Unsupported Platform
#endif