all
a
/
b
/
c
/
f
/
h
/
j
/
jp
/
l
/
o
/
q
/
s
/
sw
/
lounge
cgi
up
wiki
Heyuri!
Bulletin Boards
2D Cute
2D Ero
2D Lolikon
3D Girls
Anime/Manga
Flash
Girl Talk
日本語/Japan
Lounge
Oekaki
Off-Topic
Site Discussion
Strange World
Overboard
Heyuri★CGI
Heyuri★CGI
@PartyII
Battle Royale R
Chat
Chinsouki★
Dating
DevChat
Drama Club
Hakoniwa Islands PvE
Hakoniwa Islands PvP
Polls
Slime Breeder
Web Banana
Web Shiritori
Yumemiru Gambler
Kakiko Checker
Other
Anime Nominations
Banners
Cytube
Heyuri Calendar
Heyuri Wiki
MAL Club
Museum
Steam Group
Uploader
[
Settings
]
[
Home
] [
Contact
] [
Catalog
] [
Search
] [
Thread list
] [
Stats
] [
Reports
] [
Watcher
] [
PMs
] [
Admin
]
Off-Topic@Heyuri
it's the place to be!
[
Return
]
Report a post
Preview
Anonymous
2025/05/18(Sun)07:35:11
No.
144088
[
Report
]
+
▶
Firstly, why the fuck are you passing in a pointer to the shader handle? Just pass the int directly. Not that it will change anything here but come on now.
Also, don't use types like 'int' and 'unsigned int'. Use the unistd types instead.
Anyway, the debugging steps are pretty simple: start by inlining the function at the call site and see what happens, then see what happens with an empty shader, then play with the parameters, etc.
10 years ago I could have helped more directly but unfortunately I haven't touched opengl in quite a while
Do you know how to use gdb?
Good luck
Post number
No.
144088
Board
Off-Topic@Heyuri
Reason
Optional. Describe what's wrong with it.
Style: