Added SetWindowAspectRatio
This commit is contained in:
parent
97780c444f
commit
b167d5c8dd
|
|
@ -1693,7 +1693,7 @@ void SetWindowSize(int width, int height)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set window aspect ratio (for FLAG_WINDOW_RESIZABLE)
|
// Set window aspect ratio (for FLAG_WINDOW_RESIZABLE)
|
||||||
void SetWindowAspectRatio(int numerator, int denominator);
|
void SetWindowAspectRatio(int numerator, int denominator)
|
||||||
{
|
{
|
||||||
#if defined(PLATFORM_DESKTOP)
|
#if defined(PLATFORM_DESKTOP)
|
||||||
glfwSetWindowAspectRatio(CORE.Window.handle, numerator, denominator);
|
glfwSetWindowAspectRatio(CORE.Window.handle, numerator, denominator);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user