Refactored windowsysteminfo to directly get drawsurface raw ptr

This commit is contained in:
matthieu.ranger
2020-06-25 19:16:51 -04:00
parent 6a02f655aa
commit a21690f3f7
2 changed files with 8 additions and 8 deletions

View File

@@ -152,11 +152,11 @@ public:
}
/**
* Returns system information about the drawing area.
* Unsafe version of above for MoltenVK to get pointer
* Returns drawing area raw pointer
* Unsafe version for MoltenVK to modify pointer
*/
WindowSystemInfo& GetWindowInfoRef() {
return window_info;
void* GetRenderSurface() {
return window_info.render_surface;
}
/**