Cocoa Port / Cocoa Port (OpenEmu Plug-in):
- Fix compiling, incorporating the API changes from r5273.
This commit is contained in:
parent
fe97b5bbef
commit
8441e6e833
|
@ -104,7 +104,7 @@ GPU3DInterface *core3DList[] = {
|
||||||
&OSXOpenGLRendererEnd,
|
&OSXOpenGLRendererEnd,
|
||||||
&OSXOpenGLRendererFramebufferDidResize);
|
&OSXOpenGLRendererFramebufferDidResize);
|
||||||
|
|
||||||
GPU->SetWillAutoBlitNativeToCustomBuffer(false);
|
GPU->SetWillAutoResolveToCustomBuffer(false);
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
|
@ -702,8 +702,8 @@
|
||||||
uint32_t *bitmapData = (uint32_t *)[imageRep bitmapData];
|
uint32_t *bitmapData = (uint32_t *)[imageRep bitmapData];
|
||||||
|
|
||||||
pthread_rwlock_rdlock(self.rwlockProducer);
|
pthread_rwlock_rdlock(self.rwlockProducer);
|
||||||
GPU->GetEngineMain()->BlitNativeToCustomFramebuffer();
|
GPU->GetEngineMain()->ResolveToCustomFramebuffer();
|
||||||
GPU->GetEngineSub()->BlitNativeToCustomFramebuffer();
|
GPU->GetEngineSub()->ResolveToCustomFramebuffer();
|
||||||
RGB555ToRGBA8888Buffer(displayBuffer, bitmapData, (w * h));
|
RGB555ToRGBA8888Buffer(displayBuffer, bitmapData, (w * h));
|
||||||
pthread_rwlock_unlock(self.rwlockProducer);
|
pthread_rwlock_unlock(self.rwlockProducer);
|
||||||
|
|
||||||
|
|
|
@ -279,7 +279,7 @@ volatile bool execute = true;
|
||||||
|
|
||||||
- (const void *)videoBuffer
|
- (const void *)videoBuffer
|
||||||
{
|
{
|
||||||
return GPU->GetNativeFramebuffer();
|
return GPU->GetDisplayInfo().masterNativeBuffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (GLenum)pixelFormat
|
- (GLenum)pixelFormat
|
||||||
|
|
Loading…
Reference in New Issue