Camera without editor compile fix

This commit is contained in:
Xiao Qi 2023-03-06 15:38:42 +08:00
parent 52f61363c0
commit becff4824f
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ namespace SHADE
} }
#else #else
return SHVec2{ GetDirector(index)->GetWidth(),GetDirector(index)->GetHeight() }; return SHVec2{ GetDirector(index)->GetWidth(),GetDirector(index)->GetWidth() / screenAspectRatio };
#endif #endif
} }