| 151 | } |
| 152 | |
| 153 | OSVR_ReturnCode osvrClientGetDisplayDimensions( |
| 154 | OSVR_DisplayConfig disp, OSVR_DisplayInputCount displayInputIndex, |
| 155 | OSVR_DisplayDimension *width, OSVR_DisplayDimension *height) { |
| 156 | |
| 157 | OSVR_VALIDATE_DISPLAY_CONFIG; |
| 158 | OSVR_VALIDATE_DISPLAY_INPUT_ID; |
| 159 | OSVR_VALIDATE_OUTPUT_PTR(width, "width"); |
| 160 | OSVR_VALIDATE_OUTPUT_PTR(height, "height"); |
| 161 | *width = disp->cfg->getDisplayInput(displayInputIndex).getDisplayWidth(); |
| 162 | *height = disp->cfg->getDisplayInput(displayInputIndex).getDisplayHeight(); |
| 163 | return OSVR_RETURN_SUCCESS; |
| 164 | } |
| 165 | |
| 166 | OSVR_ReturnCode osvrClientGetNumViewers(OSVR_DisplayConfig disp, |
| 167 | OSVR_ViewerCount *viewers) { |
nothing calls this directly
no test coverage detected