You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
c6cab1f352
This is (kind of) an OpenGL-only function, which should be avoided when SDL2 isn't using OpenGL. The only alternative that is recommended is SDL_GetRendererOutputSize, which limits this fix to the SDL_Renderer backend. Still, I think it's better than nothing. I say that SDL_GL_GetDrawableSize is "kind of" OpenGL-only because it does technically work even when SDL2 isn't using OpenGL. It's just that it becomes a shim to SDL_GetWindowSize, which is not suitable for high-DPI usage because it reflects the size of the window in screen coordinates, not actual pixels, so it really should be avoided when not using OpenGL. |
3 years ago | |
---|---|---|
.. | ||
vulkan | 4 years ago | |
imgui_impl_allegro5.cpp | 3 years ago | |
imgui_impl_allegro5.h | 3 years ago | |
imgui_impl_android.cpp | 3 years ago | |
imgui_impl_android.h | 3 years ago | |
imgui_impl_dx9.cpp | 3 years ago | |
imgui_impl_dx9.h | 4 years ago | |
imgui_impl_dx10.cpp | 3 years ago | |
imgui_impl_dx10.h | 4 years ago | |
imgui_impl_dx11.cpp | 3 years ago | |
imgui_impl_dx11.h | 4 years ago | |
imgui_impl_dx12.cpp | 3 years ago | |
imgui_impl_dx12.h | 3 years ago | |
imgui_impl_glfw.cpp | 3 years ago | |
imgui_impl_glfw.h | 3 years ago | |
imgui_impl_glut.cpp | 3 years ago | |
imgui_impl_glut.h | 3 years ago | |
imgui_impl_metal.h | 3 years ago | |
imgui_impl_metal.mm | 3 years ago | |
imgui_impl_opengl2.cpp | 3 years ago | |
imgui_impl_opengl2.h | 4 years ago | |
imgui_impl_opengl3.cpp | 3 years ago | |
imgui_impl_opengl3.h | 3 years ago | |
imgui_impl_opengl3_loader.h | 3 years ago | |
imgui_impl_osx.h | 3 years ago | |
imgui_impl_osx.mm | 3 years ago | |
imgui_impl_sdl.cpp | 3 years ago | |
imgui_impl_sdl.h | 3 years ago | |
imgui_impl_sdlrenderer.cpp | 3 years ago | |
imgui_impl_sdlrenderer.h | 3 years ago | |
imgui_impl_vulkan.cpp | 3 years ago | |
imgui_impl_vulkan.h | 3 years ago | |
imgui_impl_wgpu.cpp | 3 years ago | |
imgui_impl_wgpu.h | 4 years ago | |
imgui_impl_win32.cpp | 3 years ago | |
imgui_impl_win32.h | 3 years ago |