mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 17:49:48 -06:00
A bunch of trivial changes to fix clang warnings.
This commit is contained in:
@ -58,7 +58,7 @@ bool cInterfaceAGL::Create(void *&window_handle)
|
||||
initWithAttributes: attr];
|
||||
if (fmt == nil) {
|
||||
ERROR_LOG(VIDEO, "failed to create pixel format");
|
||||
return NULL;
|
||||
return false;
|
||||
}
|
||||
|
||||
GLWin.cocoaCtx = [[NSOpenGLContext alloc]
|
||||
@ -66,12 +66,12 @@ bool cInterfaceAGL::Create(void *&window_handle)
|
||||
[fmt release];
|
||||
if (GLWin.cocoaCtx == nil) {
|
||||
ERROR_LOG(VIDEO, "failed to create context");
|
||||
return NULL;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (GLWin.cocoaWin == nil) {
|
||||
ERROR_LOG(VIDEO, "failed to create window");
|
||||
return NULL;
|
||||
return false;
|
||||
}
|
||||
|
||||
[window makeFirstResponder:GLWin.cocoaWin];
|
||||
|
Reference in New Issue
Block a user