mirror of
https://github.com/ocornut/imgui.git
synced 2026-10-16 22:40:48 +00:00
OpenGL3 backend renders upside down in KDE/Qt environment #8640
Labels
No labels
accidentally closed
android
backends
bug
building
clipper
coloredit
color spaces
cplusplus
data types
demo
disabled
doc
docking
dpi
drag drop
drawing/drawlist
dropped
dx12
enhancement
focus
font/text
gallery
help wanted
idle/power saving
ime
in progress
inputs
inputtext
internals
label/id and id stack
language bindings
layout
linux/bsd
menus
multi-contexts
multi-threading
multi-viewports
nav
news/info
opengl
optimization
osx/ios
overlap
plot/graph
popups
question
scrolling
selection
settings
sliders/drags
style
tables/columns
tabs
test wanted
tools
tooltips
tree
tricks & tips
useful widgets
vulkan
web
window pos/depth
window sizing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ocornut/imgui#8640
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version/Branch of Dear ImGui:
Version "1.92.0 WIP", Branch: master
Back-ends:
imgui_impl_opengl3.cpp + custom KDE/Qt platform
Compiler, OS:
Linux + GCC
Full config/build information:
No response
Details:
My Issue/Question:
I'm building a plugin for KWin and adding imgui I noticed it renders upside-down. But the existing ifdefs don't apply for me.
GL_CLIP_ORIGINis definedI'm not sure how the convention is defined in this KDE/Qt-land, but I just need a define or some way to tell it to do what I want.
I referenced https://github.com/ocornut/imgui/pull/3146 to make this workaround:
Works for me. Is that good enough for a PR or would you rather clean this up another way?
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response