Fixed Bug where metal surface pointer wasnt actually set

This commit is contained in:
matthieu.ranger
2020-06-27 18:46:38 -04:00
parent 0079a09305
commit d28e0f51fa
3 changed files with 8 additions and 14 deletions

View File

@@ -155,7 +155,7 @@ public:
* Returns drawing area raw pointer
* Unsafe version for MoltenVK to modify pointer
*/
void* GetRenderSurface() {
void* &GetRenderSurface() {
return window_info.render_surface;
}