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,
|
||||
&OSXOpenGLRendererFramebufferDidResize);
|
||||
|
||||
GPU->SetWillAutoBlitNativeToCustomBuffer(false);
|
||||
GPU->SetWillAutoResolveToCustomBuffer(false);
|
||||
|
||||
return self;
|
||||
}
|
||||
|
|
|
@ -702,8 +702,8 @@
|
|||
uint32_t *bitmapData = (uint32_t *)[imageRep bitmapData];
|
||||
|
||||
pthread_rwlock_rdlock(self.rwlockProducer);
|
||||
GPU->GetEngineMain()->BlitNativeToCustomFramebuffer();
|
||||
GPU->GetEngineSub()->BlitNativeToCustomFramebuffer();
|
||||
GPU->GetEngineMain()->ResolveToCustomFramebuffer();
|
||||
GPU->GetEngineSub()->ResolveToCustomFramebuffer();
|
||||
RGB555ToRGBA8888Buffer(displayBuffer, bitmapData, (w * h));
|
||||
pthread_rwlock_unlock(self.rwlockProducer);
|
||||
|
||||
|
|
|
@ -279,7 +279,7 @@ volatile bool execute = true;
|
|||
|
||||
- (const void *)videoBuffer
|
||||
{
|
||||
return GPU->GetNativeFramebuffer();
|
||||
return GPU->GetDisplayInfo().masterNativeBuffer;
|
||||
}
|
||||
|
||||
- (GLenum)pixelFormat
|
||||
|
|
Loading…
Reference in New Issue