Fix some warnings

This commit is contained in:
Twinaphex 2015-05-02 19:09:23 +02:00
parent 752849dcb2
commit d6a713bb8d
2 changed files with 3 additions and 1 deletions

View File

@ -382,7 +382,7 @@ static bool cocoagl_gfx_ctx_get_metrics(void *data, enum display_metric_types ty
float scale = cocoagl_gfx_ctx_get_native_scale();
CGRect screen_rect = [[UIScreen mainScreen] bounds];
float display_width = screen_rect.size.width;
//float display_width = screen_rect.size.width;
float display_height = screen_rect.size.height;
float physical_width = screen_rect.size.width * scale;
float physical_height = screen_rect.size.height * scale;

View File

@ -21,6 +21,8 @@
#include <string/stdstring.h>
#include <time.h>
#include "../menu_display.h"
#ifdef HAVE_OPENGL
#include "../../gfx/drivers/gl_common.h"