engine: platform: refactor R_GetWindowHandle to return a struct instead of a pointer

This commit is contained in:
TheEVolk
2025-05-22 10:19:49 +03:00
committed by Alibek Omarov
parent dd52840a97
commit 9ebeb520fa
6 changed files with 33 additions and 20 deletions

View File

@@ -246,9 +246,12 @@ qboolean SW_CreateBuffer( int width, int height, uint *stride, uint *bpp, uint *
return true;
}
window_handle_t *R_GetWindowHandle( void )
window_handle_t R_GetWindowHandle( void )
{
return NULL;
window_handle_t handle;
handle.type = REF_WINDOW_TYPE_NONE;
handle.handle = NULL;
return handle;
}
#endif