Xcode 6 / iPhone 6 compatibility updates

This commit is contained in:
TwistedUmbrella 2014-11-04 03:37:40 -05:00
parent 1520332aee
commit 07f0478425
5 changed files with 13 additions and 2 deletions

View File

@ -17,7 +17,14 @@
#pragma once
#if defined(IOS)
#include <tr1/unordered_map>
namespace std {
using std::tr1::unordered_map;
}
#else
#include <unordered_map>
#endif
#include "GPU/Common/GPUDebugInterface.h"
#include "GPU/Common/IndexGenerator.h"
@ -219,7 +226,7 @@ private:
GEPrimitiveType prevPrim_;
// Cached vertex decoders
std::unordered_map<u32, VertexDecoder *> decoderMap_;
std::unordered_map<u32, VertexDecoder *> decoderMap_;
VertexDecoder *dec_;
VertexDecoderJitCache *decJitCache_;
u32 lastVType_;
@ -227,7 +234,7 @@ private:
TransformedVertex *transformed;
TransformedVertex *transformedExpanded;
std::unordered_map<u32, VertexArrayInfo *> vai_;
std::unordered_map<u32, VertexArrayInfo *> vai_;
// Fixed index buffer for easy quad generation from spline/bezier
u16 *quadIndices_;

View File

@ -611,7 +611,11 @@ void scalePixel(const Kernel_3x3& ker,
#ifdef _DEBUG
if (breakIntoDebugger)
#if defined(IOS)
__asm__("trap");
#else
__debugbreak(); //__asm int 3;
#endif
#endif
const unsigned char blend = rotateBlendInfo<rotDeg>(blendInfo);

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
ios/assets/Icon-72@3x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
ios/assets/Icon@3x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB