mirror of https://github.com/encounter/SDL.git
Fixed Mac OS X build
This commit is contained in:
parent
ab06f570a8
commit
358e4d9c7e
|
@ -121,6 +121,19 @@ SDL_RenderDriver METAL_RenderDriver = {
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation METAL_RenderData
|
@implementation METAL_RenderData
|
||||||
|
@synthesize beginScene;
|
||||||
|
@synthesize mtldevice;
|
||||||
|
@synthesize mtlcmdqueue;
|
||||||
|
@synthesize mtlcmdbuffer;
|
||||||
|
@synthesize mtlcmdencoder;
|
||||||
|
@synthesize mtllibrary;
|
||||||
|
@synthesize mtlbackbuffer;
|
||||||
|
@synthesize mtlpipelineprims;
|
||||||
|
@synthesize mtlpipelinecopynearest;
|
||||||
|
@synthesize mtlpipelinecopylinear;
|
||||||
|
@synthesize mtlbufclearverts;
|
||||||
|
@synthesize mtllayer;
|
||||||
|
@synthesize mtlpassdesc;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface METAL_TextureData : NSObject
|
@interface METAL_TextureData : NSObject
|
||||||
|
@ -819,10 +832,12 @@ METAL_DestroyRenderer(SDL_Renderer * renderer)
|
||||||
[data.mtlcmdqueue release];
|
[data.mtlcmdqueue release];
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
[data.mtlpipelineprims[i] release];
|
[data.mtlpipelineprims[i] release];
|
||||||
[data.mtlpipelinecopy[i] release];
|
[data.mtlpipelinecopynearest[i] release];
|
||||||
|
[data.mtlpipelinecopylinear[i] release];
|
||||||
}
|
}
|
||||||
[data.mtlpipelineprims release];
|
[data.mtlpipelineprims release];
|
||||||
[data.mtlpipelinecopy release];
|
[data.mtlpipelinecopynearest release];
|
||||||
|
[data.mtlpipelinecopylinear release];
|
||||||
[data.mtlbufclearverts release];
|
[data.mtlbufclearverts release];
|
||||||
[data.mtllibrary release];
|
[data.mtllibrary release];
|
||||||
[data.mtldevice release];
|
[data.mtldevice release];
|
||||||
|
|
Loading…
Reference in New Issue