mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-01 05:10:41 +00:00
how imgui_impl_OpenGL3.cpp can introduce gl3w.h #3860
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#3860
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.81
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_OpenGL3.cpp + imgui_impl_glfw.cpp _
Compiler: bazel VScode
Operating System: Ubuntu 18.04.5 LTS
My Issue/Question:
Someting like #3507, when I try to use
imgui_impl_OpenGL3.cppto introducegl3w.handgl3w.c,imgui_impl_OpenGL3.cppalways link toGL/glew, how to fix it ?Code
here is code I package imgui
here is the structure of my code, which imgui belongs
error report
In version 1.73, it's okay ! I think it's something unchecked with header loader.
I have the same issue!! Someone has to fix it please...
If you read the any of the comments nearby that OpenGL loader mess you would find that:
#define IMGUI_IMPL_OPENGL_LOADER_GL3Wto force GL3W.I have solve this problem by change the definition order bwteen
glewandgl3w.Thanks anyway ! Let me try your method !
ocornut/imgui@4537d98d46/backends/imgui_impl_opengl3.h (L68-L85)here is my solution, please check it . Glad if can help you.