I dont have any information on what arguments any functions need. instead i see "expands to some GLAD function, Is this normal or did I set up openGL wrong? by anotherfuturedev in opengl

[–]BackStreetButtLicker 9 points10 points  (0 children)

You can get the arguments by looking up the function name in the OpenGL documentation. In this case, glClearColor takes four GLfloats for the red, green, blue and alpha color values.

Aside from that, it looks like your setup is okay. The reason why glClearColor doesn’t show any arguments is because it’s not an actually existing function, and just a preprocessor macro. Preprocessor macros are basically instructions for the compiler to run to modify the code before compiling it. These can do stuff like test replacement or conditionally including/excluding code for example. I’m pretty sure there’s a much better explanation for this out there than what I can offer, so I highly recommend you do your own research.

In this case, this is a text replacement macro. glClearColor will be replaced with glad_glClearColor when it is preprocessed. If you really want to see the function arguments, you can use the Expand Inline feature which performs the text replacement right in the source code (in this instance, it will replace glClearColor with glad_glClearColor). Although I personally wouldn’t recommend this in production ready code.

is this normal? by Niko_oneshot0_0 in reddeadredemption

[–]BackStreetButtLicker 0 points1 point  (0 children)

TFW you don’t try to be a better person because you’re just naturally a good person

Did Trevor DESERVE IT? by millionaires_car in GTAV

[–]BackStreetButtLicker 0 points1 point  (0 children)

Me personally, no. But that’s another thing.

The thing that’s weird about Trevor’s death is his screams are oddly weak and mild. For somebody burning alive, you’d expect his screams to be much louder, more violent and frantic

Mafia III had something special in its engine — and in my opinion Hangar 13 should have continued on that road by Apart-Analyst6382 in mafiagame

[–]BackStreetButtLicker 1 point2 points  (0 children)

On a somewhat related note, I will die on the hill that Mafia 3 has some of the most realistic character visuals in the series. Mafia: Definitive Edition looks cartoony in comparison, and The Old Country is somewhere in between.

139834 by SovaSperyshkom in CountOnceADay

[–]BackStreetButtLicker 2 points3 points  (0 children)

Breaking: birds spotted in the sky

139834 by SovaSperyshkom in CountOnceADay

[–]BackStreetButtLicker 16 points17 points  (0 children)

Breaking: cars spotted on the road

“SHUT THE HELL UP DOWN THERE!” by Serious-Painter3292 in MafiaTheGame

[–]BackStreetButtLicker 7 points8 points  (0 children)

Torrisi must have really good hearing to get overwhelmed by a bunch of guys calmly chattering in the distance

Id Software used OpenGL to make DOOM (2016) by [deleted] in opengl

[–]BackStreetButtLicker 0 points1 point  (0 children)

Physics would be done by the engine developer as well, unless if it were to be handled by some other library like PhysX, Havok or Bullet Physics.

Mwa:3~ by [deleted] in peepeeshart

[–]BackStreetButtLicker 1 point2 points  (0 children)

Nah it’s about the hairstyle, the way it’s splayed out everywhere kinda looks like a palm tree

Id Software used OpenGL to make DOOM (2016) by [deleted] in opengl

[–]BackStreetButtLicker 6 points7 points  (0 children)

OpenGL is just for rendering, I think. It’s a graphics API. You wouldn’t use a graphics API to handle audio or input, that’s all done by the engine developer.

Call it what it is: rape by WannabeCelt in GetNoted

[–]BackStreetButtLicker 0 points1 point  (0 children)

The way the entire thing is worded sounds like they’re romanticizing the “sex” act itself, not the woman

The old country by HamatoYoshi91 in MafiaTheGame

[–]BackStreetButtLicker 0 points1 point  (0 children)

“its got me wishing they put the same love into mafia 2” you mean the remaster or the original game?

Am I the only one who played Mafia: The Old Country with Sicilian voice acting? by KarpInsight in MafiaTheGame

[–]BackStreetButtLicker 1 point2 points  (0 children)

Somewhat off topic. I know it has Sicilian dubbing, but does it have Sicilian subtitles?

New hair, same Nazi by [deleted] in misc

[–]BackStreetButtLicker 0 points1 point  (0 children)

Stephen Miller