Why does glUniform1d exist?


So, I’ve been looking at the spec. recently, and I’ve seen glUniform1f and glUniform1i. However, there is no such thing as glUniform1d.

I can only assume that this was added for convenience (e.g., it appears in GLEW, but not in GLEE). I have also noticed that on 64-bit architectures, GLEW’s implementation of glUniform1d is buggy; it appears to always pass zero.

Can someone more familiar with extension wrappers comment?


“double” is part of this extension

That sounds like GLEE hasn’t been updated to include support for that extension.

GLee hasn’t been updated in years. It’s kinda dead by now.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.