Resizable window #31
-
I'm trying to switch from SDL to raylib/glImGui but resizing isn't working. What is the proper way to create a resizable window. When the window is resized ImGui seems to draw in correctly. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
rlImGui uses the current window size to tell ImGui what to do so it respects the raylib window size. If you pass in If that's not what you are talking about then I need more info. |
Beta Was this translation helpful? Give feedback.
-
It's the stencil buffer, it's screwing up. I'll take a look. |
Beta Was this translation helpful? Give feedback.
-
Thanks. For the record it is a 4k display.
The editor seems to work. With the exception that the parrots turn black on
resize.
…On Thu, Aug 31, 2023 at 7:16 PM Jeffery Myers ***@***.***> wrote:
It's the stencil buffer, it's screwing up. I'll take a look.
—
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXBD245MKMZTQQOQ327B4DXYELNLANCNFSM6AAAAAA4GUSIZY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
This was due to a change that was made in how the frame buffer size was gotten. I have reverted that change back to older code that calls GLFW directly instead of asking rlgl for the info. This seems to fix the problem. It's worse on a high DPI display because the resize shifts the stencil by a lot. If you update code you should be good now. |
Beta Was this translation helpful? Give feedback.
This was due to a change that was made in how the frame buffer size was gotten. I have reverted that change back to older code that calls GLFW directly instead of asking rlgl for the info. This seems to fix the problem. It's worse on a high DPI display because the resize shifts the stencil by a lot.
If you update code you should be good now.