changeset 10174 | 284022a7f51e |
parent 10117 | 7552aa4c1c6d |
child 10179 | 7cbfd97f1430 |
10173:5b0a869a9946 | 10174:284022a7f51e |
---|---|
340 } |
340 } |
341 if (vdpi) { |
341 if (vdpi) { |
342 *vdpi = data->VertDPI; |
342 *vdpi = data->VertDPI; |
343 } |
343 } |
344 |
344 |
345 return data->DiagDPI != 0.0f ? 0 : -1; |
345 return data->DiagDPI != 0.0f ? 0 : SDL_SetError("Couldn't get DPI"); |
346 } |
346 } |
347 |
347 |
348 int |
348 int |
349 WIN_GetDisplayUsableBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect) |
349 WIN_GetDisplayUsableBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect) |
350 { |
350 { |