mirror of
https://github.com/glfw/glfw.git
synced 2025-10-05 06:06:36 +00:00
Add framebuffersize() implementation
This commit is contained in:
parent
b6d4a0146d
commit
d8db80828d
@ -136,7 +136,10 @@ void _glfwPlatformSetWindowAspectRatio(_GLFWwindow* window, int n, int d)
|
|||||||
|
|
||||||
void _glfwPlatformGetFramebufferSize(_GLFWwindow* window, int* width, int* height)
|
void _glfwPlatformGetFramebufferSize(_GLFWwindow* window, int* width, int* height)
|
||||||
{
|
{
|
||||||
|
// the underlying buffergeometry is currently being initialized from the
|
||||||
|
// window width and height...so high resolution displays are currently
|
||||||
|
// not supported...so it is safe to just call GetWindowSize() for now
|
||||||
|
_glfwPlatformGetWindowSize(window, width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwPlatformGetWindowFrameSize(_GLFWwindow* window,
|
void _glfwPlatformGetWindowFrameSize(_GLFWwindow* window,
|
||||||
|
Loading…
Reference in New Issue
Block a user