Fix build.

This commit is contained in:
Alfred Reynolds 2015-07-29 17:19:04 -07:00
parent 51c72e10f7
commit dc2e9ba13b

View File

@ -947,7 +947,7 @@ X11_GetDisplayDPI(_THIS, SDL_VideoDisplay * sdl_display, float * ddpi, float * h
*hdpi = data->hdpi; *hdpi = data->hdpi;
} }
if (vdpi) { if (vdpi) {
*vpid = data->vdpi; *vdpi = data->vdpi;
} }
return data->ddpi != 0.0f ? 0 : -1; return data->ddpi != 0.0f ? 0 : -1;