I
I
IliaNeverov2021-01-24 18:56:46
C++ / C#
IliaNeverov, 2021-01-24 18:56:46

Is it possible to find out the dimensions of a window (which has already been stretched or narrowed by the user) using GLFW, or is it necessary to include third-party libraries?

Good day :) Is it possible to find out the size of a window (which the user has already stretched or narrowed) using GLFW, or is it necessary to include third-party libraries?
Here's 600d98aecfdbd337954395.pngwhat I mean:
600d9899c2cd3723514990.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2021-01-24
@IliaNeverov

GLFW draws in the window context. The window is managed by the operating system. Use WinAPI functions (eg GetWindowRect ) to determine window dimensions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question